Indy 9 | Content | Index | Reference

TIdECHOServer
Hierarchy, Properties, Methods, Events, See Also, Unit: IdEchoServer
Implements an Echo Protocol server.

    TIdECHOServer = class(TIdTCPServer)

Unit
IdEchoServer
Description
TIdECHOServer implements the Echo Protocol (RFC 862) as a server. TIdECHOServer is useful as a debugging and measurement protocol where the data sent to the server is simply sent back to the client.

TIdECHOServer.DefaultPort
TIdECHOServer, See Also
Default port number for the server.

    property DefaultPort: integer;

Description
DefaultPort is a published property in TIdECHOServer that identifies the default port number for the server, as described in the Echo Protocol specification. The default value for DefaultPort is IdPORT_ECHO, as assigned in the Create constructor. DefaultPort is used in Bindings when creating a listener thread for the server implementation.

TIdECHOServer.Create
TIdECHOServer, See Also
Constructor for the object instance.

    constructor Create(AOwner: TComponent); override;

Parameters
AOwner: TComponent
Owner of the object instance.
Description
Create is the constructor for the object instance. Create initializes the new TIdEchoServer component and sets DefaultPort to the standard port number used for Echo protocol (IdPORT_ECHO).

Created with Doc-O-Matic 2 donated to Project JEDI. Commercial license available from the Doc-O-Matic site.