Topic Path: Symbol Reference > Classes > TIdCustomTCPServer Class > TIdCustomTCPServer Events > OnListenException Event
ContentsIndexHome
PreviousUpNext
TIdCustomTCPServer.OnListenException Event

Event handler for an exception in a listener thread.

property OnListenException: TIdListenExceptionEvent;

OnListenException is a TIdListenExceptionEvent property that represents the event handler signalled when an exception is raised during execution of one of the TIdListenerThread instances for the server. 

OnListenException is signalled with the server context in the listener thread when an exception other than EAbort occurs during execution of the specific listener thread. 

Applications must assign a procedure to the event handler to allow a response to the event notification after setting the Active property in the Server to True.

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