Internet Direct (Indy)
Home
PreviousUpNext
TIdIOHandler.WriteBufferClear Method

Discards any exisitng data in the write buffering mechanism.

Pascal
procedure WriteBufferClear; virtual;

WriteBufferClear is a virtual procedure used to discard any existing values found the write buffering mechanism for the IOHandler. 

WriteBufferClear calls the Clear method found in the TIdBuffer instances used for the WriteBuffer property. 

Use WriteBufferCancel to clear and disable write buffering for the IOHandler. 

Use WriteBufferFlush to force data in the write buffer to be written to the connection for the IOHandler.

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.