[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [sc-users] Re: More on OSC trouble with proce55ing and SC Server
afaict you need to use the same socket for sending and receiving on the
p5 / java side, dont know wether oscP5 allows for that.
something like
s = socket()
bind(s, any, 12000)
sendto(s, "bla", 3)
r = recv(s, 1024)
if you look at it with tcpdump
$ sendOSC -h localhost 57110 /status
host localhost, port 57110, use type tags
$
$ sudo tcpdump -nl -i lo host localhost and port not 57120
listening on lo, link-type EN10MB (Ethernet), capture size 96 bytes
23:35:49.275050 IP 127.0.0.1.36831 > 127.0.0.1.57110: UDP, length 12
23:35:49.278653 IP 127.0.0.1.57110 > 127.0.0.1.36831: UDP, length 72
23:35:49.278690 IP 127.0.0.1 > 127.0.0.1: ICMP 127.0.0.1 udp port 36831 unreachable, length 108
scsynth sends the reply to the originating port.
bst, opt
[JostM]->[Re: [sc-users] Re: More on OSC trouble with proce55ing and SC...
|
|
|contact@xxxxxxxx wrote:
|
| >a) try to verify that you can receive OSC messages *at all* in your
|proce55ing programme. try to send a test message from sc-lang or PD to
|proce55ing, will it be received?
| >
| >
|Yes, processing is receiving OSC messages. I can send them from SC lang.
|
| >b) which platform do you use? i remember there is a problem on windows
|with a firewall setting that prevents java from receiving OSC messages,
|this might block communication back from scsynth to proce55ing ?
| >
| >
|I use both mac and PC. I can use SCLang to send a message to proce55ing,
|even across machines. Proce55ing can sucessfully send messages to SC
|Server, but it gets no acknowledgements. This is the issue. I want to
|have proce55ing poll control Bus values on the server. The Server gets
|the request message ("/c_get"), but does not send the corresponding
|message back ("/c_set"). Ot proce55ing doesn't repond to it for some
|reason.
|
| >c) i haven't worked with proce55ing yet, however if it is compiled
|using a regular java compiler, you could try to use an alternative OSC
|library to see if the OSC objects are broken (use JavaOSC or NetUtil
|instead of oscP5)
| >
| >
| >
|I'll look into alternate libraries, if I can find any. Perhaps that is
|the problem.
|
|thanks,
|
|
|jostM
|
|_______________________________________________
|sc-users mailing list
|sc-users@xxxxxxxxxxxxxxx
|http://www.create.ucsb.edu/mailman/listinfo/sc-users
|
|
--
X � � . o R 6
GPG-key at http://xdv.org/~jdl/jdl.pub.asc