Socket.setTtl

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

class Socket
void
setTtl
(
uint ttl
)

Parameters

ttl uint

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

Meta