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

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

Pascal
procedure WriteBufferFlush; overload;

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

WriteBufferFlush calls an overloaded variant of the method using -1 for 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 written is also removed from WriteBuffer prior to completion of the write request. 

WriteBufferFlush call WriteBytes using existing data in WriteBuffer. 

Use WriteBufferOpen to enable write buffering for the IOHandler. 

Use WriteBufferClose to disable write buffering for the IOHandler.

WriteBufferFlush 

WriteBytes 

WriteBuffer 

WriteBufferOpen 

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.