Socket.setMulticastTtl

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.

class Socket
void
setMulticastTtl
(
uint ttl
)

Parameters

ttl uint

the time-to-live value for all multicast datagrams on @socket

Meta

Since

2.32