OSC send/receive


Hi all,
I have the OSCSender connected to a port, and I am using the OSCReceiver::ListenerWithOSCAddress class to connect to the same port to receive the message. Well, I noticed that OSCReceiver::connect() returns false when I do so. If I use different port numbers, it does good. How can I send and receive on the same port @


Have you looked at the OSSender and OSCReceiver sample code. It’s in JUCE/examples


O yes I did! I did it the same way. One component class to transmit (OSCSender) and another to receive (OSCReceiver). Both these classes are then declared in another component class, which is ultimately called from MainComponent class.