The closesocket function closes an existing socket.
int closesocket( SOCKET s );
int closesocket(int s) => _closesocket(s);