Internet Direct (Indy)
Home
PreviousUpNext
TIdTCPStream.Write Method (, Longint)

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

Pascal
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

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.