connect function winsock

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

The connect function establishes a connection to a specified socket.

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

Implementation

int connect(int s, Pointer<SOCKADDR> name, int namelen) =>
    _connect(s, name, namelen);