Function SocketClose() Professional
Closes an open socket.
SocketClose( <nSocket> , ; [@<nError>] ) --> lSuccess
The function returns .T. (true) if the socket is closed successfully, otherwise .F. (false) is returned.
This function closes a socket and releases all related resources, thus making it unusable for re-opening. It is recommended to call SocketShutdown() prior to closing a socket so that pending send/receive operations can be completed (graceful instead of abortive close).
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.