shutdown function winsock

int shutdown(
  1. int s,
  2. int how
)

The shutdown function disables sends or receives on a socket.

int shutdown(
  SOCKET s,
  int    how
);

Implementation

int shutdown(int s, int how) => _shutdown(s, how);