Internet Direct (Indy) Version 9.0.2 Beta
TIdTCPServer.OnListenException
Event handler for an exception in a listener thread.

property OnListenException: TIdListenExceptionEvent;
Description
OnListenException is a TIdListenExceptionEvent property that represents the event handler signalled when an exception is raised during execution of a TIdListenerThread. OnListenException is accessed using the server context in the listener thread.

Applications must assign a procedure to the event handler to allow a response to the event notification.