Function SocketShutdown() Professional
Disables data transfer on a socket.
SocketShutdown( <nSocket> , ;
<nHow> , ;
[@<nError>] ) --> lSuccess
Constant | Description |
---|---|
SD_RECEIVE | Disables receives |
SD_SEND | Disables sends |
SD_BOTH | Disables any data transfer |
The function returns .T. (true) when the shut down operation is successful, otherwise .F. (false) is returned.
SocketShutdown() is used on all types of sockets to disable transmission of incoming or outgoing data, or both. Note that SocketShutdown() does not close the socket. Call function SocketClose() to close a socket.
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.