Internet Direct (Indy)
Home
PreviousUpNext
TIdLogBase.Connect@TComponent

Writes a log message when a connection is established.

Parameters 
Description 
AConnection 
Component establishing the connection. 

Connect is a procedure used to write a log message when a connection is opened for the component in AConnection. 

When Active contains True, the inherited Connect method is called to establish the intercept and a log message is written to indicate the change in the connection state. 

The log message may contain an optional date and timestamp when LogTime contains True. 

Use Disconnect to close the logging intercept. 

Set Active to False to disable message logging on the intercept.

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.