CAsyncSocket::Listen

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

At a Glance

Header file: Afxsock.h
Platforms: H/PC 2.0, Palm-size PC, H/PC Pro
Windows CE versions: 2.0 and later
Complete documentation: Visual C++ documentation

Syntax

BOOL Listen( int nConnectionBacklog = 5 );

See Also

CAsyncSocket::Accept, CAsyncSocket::Connect, CAsyncSocket::Create