Internet Direct (Indy)
Home
PreviousUpNext
TIdTCPStream Class

Implements a stream using a socket connection for common stream input and output operations.

Pascal
TIdTCPStream = class(TIdStream);

TIdTCPStream is a TIdStream descendant that implements a stream that uses a socket connection for common stream input and output operations. 

TIdTCPStream overrides virtual methods in TIdStream to redirect its input and output operations on the stream to the TIdIOHandler assigned for the associated TIdTCPConnection instance. 

Methods used for input and output operations in TIdTCPStream also isolate the differences between the pointers and memory allocation on the platforms supported by the Indy library. 

TIdTCPStream is used internally in the Indy library when reading or writing message parts in TIdIMAP4 and TIdMessageClient.

TIdStream 

TIdTCPConnection 

TIdIOHandler 

TIdBytes 

TIdIMAP4.AppendMsg 

TIdMessageClient.ReceiveBody 

TIdMessageClient.SendBody

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.