Internet Direct (Indy)
Home
PreviousUpNext
TIdIOHandler.WriteBufferFlush Method (Integer)

Writes data in the write buffering mechaism to the IOHandler connection.

Pascal
procedure WriteBufferFlush(
    AByteCount: Integer
); virtual; overload;
Parameters 
Description 
AByteCount 
Number of bytes to write from the buffer to the IOHandler. The default value is -1. 

WriteBufferFlush is a virtual procedure used to force any existing data in the write buffering mechanism to be written to the connection for the IOHandler. 

WriteBufferFlush call WriteBytes using existing data in WriteBuffer. 

AByteCount indicates the number of bytes to write from the buffer to the IOHandler. The default value is -1, and indicates that all data should be written. The number of bytes in AByteCount is removed from WriteBuffer prior to completion of the write request. 

Use WriteBufferOpen to enable write buffering for the IOHandler. 

Use WriteBufferClose to disable write buffering for the IOHandler.

TIdIOHandler.WriteBytes 

TIdIOHandler.WriteBuffer 

TIdIOHandler.WriteBufferOpen 

TIdIOHandler.WriteBufferClose

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.