Topic Path: Symbol Reference > Classes > TIdCustomTCPServer Class > TIdCustomTCPServer Events > OnBeforeListenerRun Event
TIdCustomTCPServer.OnBeforeListenerRun Event

Event handler signalled prior to executing a listener thread.

property OnBeforeListenerRun: TIdNotifyThreadEvent;

OnBeforeListenerRun is a TIdNotifyThreadEvent property that represents the event handler signalled prior to executing a listener thread for the server. OnBeforeListenerRun is assigned during server startup (when setting Active to True) in the TIdListenerThread.OnBeforeRun property for each listener thread defined in Bindings

OnBeforeListenerRun allows the listener thread to perform operations required prior to accepting new connections requests for the server.

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