Internet Direct (Indy)
Home
PreviousUpNext
TIdCustomTCPServer.OnBeforeListenerRun Event

Event handler signalled prior to executing a listener thread.

Pascal
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.

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.