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: 9.1   9.2   9.3   9.4   9.5   10.0   10.1   10.2   10.3   10.4    Statistic  

Socket.LastError

Queries the last error code for the given socket.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Socket 4.3 Yes Yes Yes Yes Yes
MBS( "Socket.LastError"; SocketID )   More

Parameters

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

Result

Returns error code.

Description

Queries the last error code for the given socket.
This is normally a platform dependent error code.
On macOS error code is 9 in use the socket is closed, on Windows 10009.

See also

Blog Entries

Created 18th August 2014, last changed 31st August 2020


Socket.IsListening   -   Socket.LastMessageIP

Feedback: Report problem or ask question.




Links
MBS Xojo PDF Plugins