Function SocketSetBlockingMode() Professional

Enables or disables the blocking mode.

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

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

Description

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.

Feedback

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.