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. Since 2.32

class Socket
void
setMulticastTtl
(
uint ttl
)

Parameters

ttl uint

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

Meta