Socket.ttl

uint ttl() @property nothrow

Get ttl property.

Returns

Time-to-live for outgoing unicast packets
void ttl(uint propval) @property nothrow

Set ttl property.

Parameters

propvalTime-to-live for outgoing unicast packets