closesocket function winsock

int closesocket(
  1. int s
)

The closesocket function closes an existing socket.

int WSAAPI closesocket(
  SOCKET s
);

Implementation

int closesocket(int s) => _closesocket(s);