Internet Direct (Indy)
|
Implements a TCP-based Echo client.
TIdEcho = class(TIdTCPClientCustom);
TIdEcho is a TIdTCPClientCustom descendant that implements the TCP-based variant of the Echo Protocol as described in the Internet Standards document:
TIdEcho is useful as a debugging and measurement protocol where the data sent to the server is simply sent back to the originating client. TIdEcho is provided as a measure of the time it takes to send and receive data from an Echo Server (TIdECHOServer).
The TCP-based implementation of the Echo Protocol is a connection based application. An Echo Server listens for TCP connections on TCP Port 7.
When a connection is established, any data received by the server is returned to the originating client. The connection remains open until the client application closes the connection.
To use TIdEcho, perform the following actions in your application:
Call Disconnect to close the connection to the Echo 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. |