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

Enables write buffering for the IOHandler.

Pascal
procedure WriteBufferOpen; overload;

WriteBufferOpen is an overloaded method used to enable write buffering for the IOHandler. 

WriteBufferOpen allocates the TIdBuffer instance used in the WriteBuffer property that stores values to be written to the IOHandler connection. 

WriteBufferOpen calls an overloaded variant of the method using -1 as the threshhold that indicates the number of bytes to accumulate in the write buffer prior to flushing to the IOHandler connection. The default value is -1, and indicates that all existing data in WriteBuffer should be flushed at the next opportunity. 

Use WriteBufferClose to disable write buffering for the IOHandler. 

Used WriteBufferFlush to force existing data in WriteBuffer to be written to the IOHandler connection.

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.