Socket.setMulticastLoopback

void setMulticastLoopback(bool loopback)

Sets whether outgoing multicast packets will be received by sockets listening on that multicast address on the same host. This is true by default.

Parameters

loopbackwhether socket should receive messages sent to its multicast groups from the local host