System.Win.ScktComp.TCustomWinSocket.DoListen

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure DoListen(QueueSize: Integer);

C++

void __fastcall DoListen(int QueueSize);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
System.Win.ScktComp.pas
System.Win.ScktComp.hpp
System.Win.ScktComp TCustomWinSocket

Description

Opens a listening connection.

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.

See Also