Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   8.0    Statistic  

Socket.CheckAll

Checks status of all sockets.

Component Version macOS Windows Server FileMaker Cloud FileMaker 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.

See also

Example Databases


Socket.Check   -   Socket.ClearDataAvailableHandler

Feedback: Report problem or ask question.




Links
MBS Xojo blog