Closes the socket.
HRESULT Close( BOOLEAN fAbortive );
A hard close is done by setting the SO_DONTLINGER option in the Winsock setsockopt function.