Internet Direct (Indy)
Home
PreviousUpNext
TIdUDPClient.OnDisconnected Property

Event handler signalled when closing the UDP client session.

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

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.