Socket.setTtl

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

class Socket
void
setTtl
(
uint ttl
)

Parameters

ttl uint

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

Meta

Since

2.32