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.IsListening

Checks whether socket is listening.

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

Parameters

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

Result

Returns 1, 0 or error.

Description

Checks whether socket is listening.
Returns 1 if listening, e.g. Socket.Listen was called.

See also

Release notes

Blog Entries

Created 29th November 2018, last changed 28th November 2019


Socket.IsClosed - Socket.LastError

Feedback: Report problem or ask question.