CAsyncSocket::Listen

This member function sets up the socket to listen for incoming connection requests.

Syntax

BOOL Listen( int nConnectionBacklog = 5 );

At a Glance

Header file: Afxsock.h
Platforms:
Versions: 2.0 and later
Complete documentation Visual C++ documentation

See Also

CAsyncSocket Overview, CAsyncSocket Member Functions, Windows Sockets Classes, CAsyncSocket::Accept, CAsyncSocket::Connect, CAsyncSocket::Create