CloseSock
Description
Closes a socket with the specified handle.
Good to know: Using this method to close a socket only once all data has been transmitted or received.
Remarks
This method closes an open socket, and returns zero if successful, and a Winsock error code if not.
Prototype
LONG CloseSock(long SocketHandle, BOOL NoLinger = FALSE)
Last updated