Internet Direct (Indy)
Home
PreviousUpNext
TIdNNTP.Mode Property

Indicates the NNTP command mode for the client connection.

Pascal
property Mode: TIdModeType;

Mode is a TModeType property that indicates the desired NNTP command mode for the client connection. Mode is used in the Connect method to set desired command mode, and results in an update to ModeResult indicated the server response to the request. 

When Mode contains the the value mtReader, the client connection is an NNTP newsreader that will use conversational NNTP protocol exchanges. mtReader cause the NNTP MODE READER command to be issued after establishing the connection to the server in Connect

When Mode contains the the value mtStream, the client connection wishes to suspend the conversational nature of NNTP, and send a stream of NNTP commands. mtStream is used with TakeThis, where articles are sent to an NNTP server in streaming mode. mtStream causes the NNTP MODE STREAM command to be issued after the connection to the server is opened in Connect

mtReader is the default value for Mode, as assigned in the Create constructor.

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.