Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4    Statistic    FMM    Blog  

Socket.EnableKeepAlive

Enables keep alive of TCP/IP socket.

Component Version macOS Windows Linux Server iOS SDK
Socket 10.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "Socket.EnableKeepAlive"; SocketID )   More

Parameters

Parameter Description Example
SocketID The socket ID received by Socket.Connect function. $sock

Result

Returns OK or error.

Description

Enables keep alive of TCP/IP socket.
Once enabled, the computer will regularly send an alive message to the other side, so the TCP/IP socket doesn't time out.

See also

Release notes

Blog Entries

Created 19th June 2020, last changed 19th June 2020


Socket.DropMembership - Socket.GetBroadcast

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins

Start Chat