So I have a handful of Juce VSTs.
In terms of the OSC code involved, one VST alone is “upstream”, the rest “downstream”.
I wish for the one upstream VST to be able to simultaneously broadcast my OSC stream to all recipients downstream.
I’ve tried by setting the OSCSender to port 255.255.255.255 - the observed behaviour seems to be that the first OSCReceiver object in the first downstream VST is able to connect successfully, then seemingly the port is locked and other OSCReceiver’s in the other VSTs cannot receive the messages - only the first one.
Is there something I’m missing? I poked around in the DatagramSocket class and noted that the default argument for the constructor suggests that broadcast capability is set to “true”. Does this not mean that internally it should be able to send to multiple recipients on the same port?
Note that the VSTs are all on the same localhost/127.0.0.1 internal network.
I’ve seen some information about sending to something like 192.168.0.255 or 192.168.1.255, but in this case, would it not route the packets to the router and broadcast from there? That’s not exactly what I want - simply to broadcast within localhost. Is this possible?