Internet Direct (Indy)
Home
PreviousUpNext
TIdDISCARDServer Class

Implements a Discard Protocol server.

Pascal
TIdDISCARDServer = class(TIdCustomTCPServer);

TIdDISCARDServer is a TIdTCPServer descendant that implements a TCP-based server for the Discard Protocol, as described in the Internet Standards document: 

RFC 863 - Discard Protocol  

TIdDISCARDServer is a useful debugging and measurement protocol where the data sent to the server is simply discarded. TIdDISCARDServer provides a default implementation that accepts threaded client connections, reads the connection for the TIdPeerThread to determine it's InputBuffer contents, and discards the values. The threaded client connection automatically terminates after reading the InputBuffer.

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.