thanks for taking the time to reply.
I have a bunch of microcontrollers that want to talk to the workstation and I would like to slowly move away from a proprietary protocol to OSC. There is some logic associated with who sends the data in the plugin, so knowing which one sent the data is important to my use case.
I guess this could be handled on OSC address level, but the microcontrollers would need to scope OSC addresses it to their IP or some other identifier, for example /myip/my/param instead of just /my/param but it seems somewhat redundant since the UDP packet already carries this information effectively.
Looking at DatagramSocket::joinMulticast, a getter getSocket is probably all that is needed to get multicast to work, so that joinMulticast can be called on it.