Topic Path: Symbol Reference > Classes > TIdListenerThread Class > TIdListenerThread Methods > Create Constructor
ContentsIndexHome
PreviousUpNext
TIdListenerThread.Create Constructor

Constructor for the Listener thread.

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.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.