Indy 9 | Content | Index | Reference

TIdDiscardUDPServer
Hierarchy, Properties, Methods, Events, See Also, Unit: IdDiscardUDPServer
Implements a Discard Protocol server.

    TIdDiscardUDPServer = class(TIdUDPServer)

Unit
IdDiscardUDPServer
Description
TIdDiscardUDPServer implements a UDP-based server for the Discard Protocol (RFC 863). TIdDISCARDServer is a useful debugging and measurement protocol where the data sent to the server is simply discarded.

TIdDiscardUDPServer.DefaultPort
TIdDiscardUDPServer, See Also
Default port number used for client connections.

    property DefaultPort: integer;

Description
DefaultPort is an Integer property that represents the default port number for listening and accepting client connections to TIdDiscardUDPServer. DefaultPort is redefined in TIdDiscardUDPServer, and the value IdPORT_DISCARD is assigned in the Create constructor.

TIdDiscardUDPServer.Create
TIdDiscardUDPServer, 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, and calls the inherited Create method to instantiate a new TIdDiscardUDPServer component. Create sets the value of DefaultPort to the standard port number used for thye Discard protocol (IdPORT_DISCARD).

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