timeToLive (property)
The maximum number of subnets that a datagram can traverse.
Syntax
@property (nonatomic,readwrite,assign,getter=timeToLive,setter=setTimeToLive:) int timeToLive; - (int)timeToLive; - (void)setTimeToLive:(int)newTimeToLive;
public var timeToLive: Int32 { get {...}
set {...} }
Default Value
0
Remarks
The default value for this property is 0, which tells the class to use the default TTL value of the underlying TCP/IP subsystem. Depending on the application, you can specify a value between 1 and 255.