bind function winsock

int bind(
  1. int s,
  2. Pointer<SOCKADDR> name,
  3. int namelen
)

The bind function associates a local address with a socket.

int WSAAPI bind(
  SOCKET         s,
  const sockaddr *name,
  int            namelen
);

Implementation

int bind(int s, Pointer<SOCKADDR> name, int namelen) => _bind(s, name, namelen);