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


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

This function checks for a license.

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

Socket.DropMembership - Socket.GetBroadcast