Internet Direct (Indy)
Home
PreviousUpNext
TIdConnectionIntercept.OnConnect Event

Specifies the event handler for connection notifications.

Pascal
property OnConnect: TIdInterceptNotifyEvent;

OnConnect is a TIdInterceptNotifyEvent property that represents the event handler for connection notifications received by the connection intercept. 

Assign a procedure to OnConnect to perform special processing when a connection notification is received in the Connect method. Applications must assign an OnConnect event handler in order to respond to connection notifications. 

Use OnDisconnect to respond to notifications from Disconnect.

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.