The shutdown function disables sends or receives on a socket.
int shutdown( SOCKET s, int how );
int shutdown(int s, int how) => _shutdown(s, how);