Function SocketSetBlockingMode() Professional

Enables or disables the blocking mode.

SocketSetBlockingMode( <nSocket>, ;
                       <lOnOff>   ) --> lSuccess
This is a numeric socket descriptor identifying a socket.
The value .T. (true) enables blocking mode and .F. (false) disables it.

The function returns .T. (true) if the blocking mode is set successfully, otherwise .F. is returned.


When blocking mode is enabled, which is the default when a socket is created, the process executing SocketAccept() or sending/receiving data waits until the operation is complete.


If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.