Topic Path: Symbol Reference > Classes > TIdIOHandler Class > TIdIOHandler Methods > WriteBufferCancel Method
TIdIOHandler.WriteBufferCancel Method

Clears and cancels write buffering for the IOHandler.

procedure WriteBufferCancel; virtual;

WriteBufferCancel is a virtual procedure used to clear any existing values in the write buffering mechanism for an IOHandler. WriteBufferCancel also disables write buffering for subsequent write requests. 

WriteBufferCancel calls both the WriteBufferClear and WriteBufferClose methods. 

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

Use WriteBufferOpen to enable write buffering for the IOHandler.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.