This member function sets up the socket to listen for incoming connection requests.
BOOL Listen( int nConnectionBacklog = 5 );
Header file: | Afxsock.h |
Platforms: | |
Versions: | 2.0 and later |
Complete documentation | Visual C++ documentation |
CAsyncSocket Overview, CAsyncSocket Member Functions, Windows Sockets Classes, CAsyncSocket::Accept, CAsyncSocket::Connect, CAsyncSocket::Create