Topic Path: Symbol Reference > Classes > TIdDISCARDServer Class
ContentsIndexHome
PreviousUpNext
TIdDISCARDServer Class

Implements a Discard Protocol server.

File
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.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.