Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


Sets time to live for data packets.

Component Version macOS Windows Linux Server iOS SDK
Socket 5.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "Socket.SetTimeToLive"; SocketID; Value )   More


Parameter Description Example
SocketID The socket ID received by Socket.Connect function. $sock
Value The new time to live value. 5


Returns OK or error.


Sets time to live for data packets.
Range from 0 to 255.

See also

Blog Entries

This function checks for a license.

Created 22nd August 2015, last changed 22nd August 2015

Socket.SetTag - Socket.Write