Topic Path: Symbol Reference > Classes > TIdTCPStream Class > TIdTCPStream Methods > Write Method > Write Method (, Longint)
ContentsIndexHome
PreviousUpNext
TIdTCPStream.Write Method (, Longint)

Writes byte values from a buffer to the socket-based stream.

function Write(
    const Buffer; 
    Count: Longint
): Longint; override;
Parameters 
Description 
ABuffer 
Buffer with data to write to the stream.
 
ACount 
Number of bytes starting at the indicated offset to write to the stream. 

Longint - Number of bytes affected by the operation.

Write is an overloaded overridden method used to write byte values from ABuffer to the socket-based stream. 

ACount indicates the number of bytes to write to the stream. 

The return value for the method is the number of bytes affected by the write operation. 

 

Please not that this variant of the Write method is implemented not implmented for the .platform only.

TIdTCPStream.Write

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