accept

#include <wsvv.h>

SOCKET PASCAL FAR accept(s, addr, addrlen)
SOCKET s; /* socket listening for connections */
struct sockaddr FAR *
addr; /* address structure for connecting entity */
int FAR * addrlen; /* length of address structure */

Accept a connection on a socket.

Addendum

The accept function receives address information about the connecting entity using the modified sockaddr structure.

See Also

bind, connect, listen, select, socket, WSAAsyncSelect