Internet Direct (Indy)
Home
PreviousUpNext
TIdIOHandler.WriteDirect Method

Moves values to the socket-level transport for the IOHandler.

Pascal
procedure WriteDirect(
    var aBuffer: TIdBytes
); virtual;
Parameters 
Description 
aBuffer 
Values to be moved to the socket-level transport for the IOHandler. 

WriteDirect is a virtual procedure used as the main mechanism for writing values to the IOHandler. 

WriteDirect is called in methods like Write and WriteBufferFlush to move data directly to the socket handle used for network-level access. 

WriteDirect calls CheckForDisconnect to determine if the IOHandler is actively connected to the endpoint for the transfer. WriteDirect also fires the Send method for an assigned Intercept.

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.