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 |
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.
This function checks for a license.
Created 22nd August 2015, last changed 22nd August 2015