Internet Direct (Indy)
Home
PreviousUpNext
TIdTCPStream.Write@TIdBytes@Integer

Writes values to the socket-based stream.

Parameters 
Description 
ABytes 
Values to write to the socket-based stream.
 
ACount 
Number of bytes to include in the write operation. Default value is -1. 

Write is an overloaded method used to write a string data type or byte values to the socket-based stream. 

Write uses the TIdIOHandler instance assigned in the Connection property to perform a physical write using the value specified in AValue.

ACount is unused at this time.

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.