Internet Direct (Indy)
Home
PreviousUpNext
TIdListenerThread.Create Constructor

Constructor for the Listener thread.

Pascal
constructor Create(
    AServer: TIdCustomTCPServer; 
    ABinding: TIdSocketHandle
); reintroduce;
Parameters 
Description 
AServer 
Server that owns the listener thread.
 
ABinding 
Socket handle in the server Bindings for the listener thread. 

Create is the constructor for TIdListenerThread and intializes the class instance. Create calls the inherited constructor. 

Creates sets the Binding property for the listener thread to the socket handle passed in the ABinding argument. 

Create also sets the Server property to the owner of the listener thread as identified by the parameter AServer.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.