Internet Direct (Indy)
|
Represents the peer connection for a client session on the TCP server.
property Connection: TIdTCPConnection;
Connection is a read-only TIdTCPConnection property that represents the peer connection for a client session running on the TCP server.
Connection is initialized in Create using the argument value passed to the constructor.
Connection is freed in the Destroy method.
Connection can be used in the OnBeforeRun, OnRun, and OnAfterRun event handler procedures to access properties and methods for the TIdTCPConnection instance. Of special importance are the IOHandler property and the Disconnect method for the connection.
The TIdTCPConnection instance passed to the constructor is created by a listener thread that detect connection requests for the server.
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. |