#include <wsvv.h>
int PASCAL FAR connect(s, name, namelen)
SOCKET s; /* unconnected socket to use */
const struct sockaddr FAR * name; /* address structure assigned to socket */
int namelen; /* length of address structure */
Establish a connection to a peer.
Addendum
The connect function specifies a protocol ID for a socket using the modified sockaddr structure.
See Also
accept, bind, getsockname, select, socket, WSAAsyncSelect