Receive same OSC message with more than one App

I have one OF app that is sending OSC messages and I would like to receive them simultaneously with two other separate OF apps.

However I am finding that whichever of the receiver apps is started first seems to consume all the OSC messages and a second receiver app then receives nothing.

I can see that the OSC code is setting the socket option SO_REUSEADDR so different sockets should be able to share the same port so that should not be the problem.

However I cannot make it work, is it in fact possible with the OSC protocol?

All the apps are running on the same machine and I am sending to 127.0.0.1 local IP address.
I’m using of_v0.9.8_vs_release with vs2015 under Windows 10.

Hello there,

Did you see this thread?

It seems it should be working right?
Could you post some code? did you try other IPs?
I could test in my environment too.

Best,
j

Jordi,
Thanks for the link, I didn’t see it before, too many issues in ofxOSC!
I’ll have a good look and let you know how I get on.

  • Richard

I can confirm that I can receive the same OSC messages with multiple apps on the same machine, but only if I send them to the broadcast IP address rather than the local IP address. In my case 192.168.1.255 rather than 127.0.0.1.
Problem with this is that the packets will go all over the subnet, multicasting would be better but that’s outside my scope for now.
Thanks again
Richard