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: 12.1   12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4    Statistic    FMM    Blog  

Socket.IsClosed

Checks if socket got closed.

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

Parameters

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

Result

Returns 1, 0 or error.

Description

Checks if socket got closed.
MBS Plugin may close sockets that report an error in Socket.Check.
Returns 1 if closed, but not yet freed.

See also

Release notes

Blog Entries

This function is free to use.

Created 29th November 2018, last changed 30th August 2020


Socket.GetTimeToLive - Socket.IsListening

💬 Ask a question or report a problem