setMulticastTtl

open fun setMulticastTtl(ttl: <Error class: unknown class>)

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

Parameters

ttl

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