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

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

This function checks for a license.

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


Socket.DropMembership - Socket.GetBroadcast