setTtl

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

Sets the time-to-live for outgoing unicast packets on @socket. By default the platform-specific default value is used.

Since

2.32

Parameters

ttl

the time-to-live value for all unicast packets on @socket