Topic Path: Symbol Reference > Classes > TIdNNTP Class > TIdNNTP Methods > DisconnectNotifyPeer Method
TIdNNTP.DisconnectNotifyPeer Method

Informs a server that the client wishes to close the connection.

procedure DisconnectNotifyPeer; override;

DisconnectNotifyPeer is an overridden method in TIdNNTP used to inform a NNTP server that the client will be closing the NNTP connection. 

DisconnectNotifyPeer sends the NNTP QUIT command to indicate that the client connection will be closed. 

Use Connect to establish a connection to the NNTP server using Host and Port for the socket connection.

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