Topic Path: Symbol Reference > Classes > TIdUDPListenerThread Class > TIdUDPListenerThread Methods > UDPException Method
TIdUDPListenerThread.UDPException Method

Notifies the server of an exception in the listener thread.

procedure UDPException;

UDPException is a procedure used to execute exception handling routines for the server when an exception occurs during execution of the listener thread. Exceptions may be raised if a socket handle for the server bindings becomes invalid while receiving datagrams or exeuting the UDPRead method. 

Exceptions in the listener thread are ignored after server notification to allow the listener thread to receive subsequent datagrams transmissions. 

UDPException is called using the Synchronize method when the server is not using threaded events.




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