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.
This method closes an open socket, and returns zero if successful, and a Winsock error code if not.
LONG CloseSock(long SocketHandle, BOOL NoLinger = FALSE)
Last updated 2 years ago