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

Checks status of all sockets.

Component Version macOS Windows Linux Server iOS SDK
Socket 5.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "Socket.CheckAll" )

Parameters

none

Result

Returns list or error.

Description

Checks status of all sockets.
Returns a list of sockets and what to do. The list is always build using a reference number of a socket followed by an entry with the status. Status can be error, read, write, or accept. So when you get a socket with read status, you can read data from it. With write status you can write some data to it. With accept, you can start a new connection with the incoming request. In case of error status, the plugin closes the socket automatically.

Returns empty text if there is nothing to do.

See also

Example Databases

Created 29th March 2015, last changed 29th November 2018


Socket.Check - Socket.ClearDataAvailableHandler

Feedback: Report problem or ask question.