RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomWinSocket.DoListen Method

Opens a listening connection.

Pascal
procedure DoListen(QueueSize: Integer);
C++
__fastcall DoListen(int QueueSize);

The socket uses DoListen internally to open a listening connection with a queue that can hold QueueSize client connection requests. DoListen handles those tasks that are common to opening a listening connection synchronously or asynchronously. 

Do not call DoListen to open a listening connection. Instead, call the public Listen method, which orchestrates the opening of a connection either synchronously or asynchronously, depending on the socket type. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!