connect function winsock
The connect function establishes a connection to a specified socket.
int WSAAPI connect(
SOCKET s,
const sockaddr *name,
int namelen
);
Implementation
int connect(int s, Pointer<SOCKADDR> name, int namelen) =>
_connect(s, name, namelen);