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  


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


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


Returns OK or error.


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.

MBS Xojo Plugins

Start Chat