Socket.setMulticastTtl
void setMulticastTtl(uint ttl)Sets the time-to-live for outgoing multicast datagrams on socket. By default, this is 1, meaning that multicast packets will not leave the local network.
Parameters
ttl | the time-to-live value for all multicast datagrams on socket |