I have some code that can send and receive OSC mesages, but so far the best I can get from SL is to make the engine quit.
I've read the thread "SL and OSC" (viewtopic.php?f=17&t=3&start=0&st=0) and while it was somewhat helpful I still cannot get SL to respond to my ping.
I'm sending SL a ping message that look like this:
- Code: Select all
/ping osc.udp://james06:9951/ osc.udp://locahost:9961/ /pong
james06 is the machine I'm on. (I tried using localhost and 127.0.0.1 as well, but it made no difference.)
I know I'm reaching SL because if SL is not running I get a connection error. I can also send SL the /quit command, and that works. But I never see a reply from ping. I can hit osc.udp://locahost:9961 with my own code, so I know it is running.
I have to believe there's some odd little thing I'm missing, but I can't figure it out.
How does one debug SL OSC?
If I send a command to load a session, how do I know SL was ale to act on it, and whether there was a problem or not.
I realize that UDP is a "fire and forget" sort of thing, but there must be some way of checking that commands are getting through and doing what you want.