Topic Path: Symbol Reference > Classes > TIdUDPClient Class > TIdUDPClient Properties > OnDisconnected Property
TIdUDPClient.OnDisconnected Property

Event handler signalled when closing the UDP client session.

property OnDisconnected: TIdNotifyEvent;

OnDisconnected is a TNotifyEvent property that represents the event handler signalled when the socket handle or the transparent proxy connection are closed for the UDP client. 

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

OnDisconnected is triggered in the Disconnect method after the socket handle in Binding has been de-allocated. 

Use OnConnected to respond to the event signalled when the UDP client calls the Connect method. 

Use OnStatus to receive event notifications that occur prior to performing an associated action in the UDP client.

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