Internet Direct (Indy)
Home
PreviousUpNext
TIdConnectionIntercept.Receive Method

Receives values for the connection intercept.

Pascal
procedure Receive(
    var ABuffer: TIdBytes
); virtual;
Parameters 
Description 
ABuffer 
Buffer with values for the receive notification. 

Receive is a procedure used to receive values for the connection intercept using the buffer specified in ABuffer. 

When the TIdConnectionIntercept component is enabled, Receive is the method used to perform read operations before data on made available to a subsequent IOHandler or Intercept for the Connection

Receive uses the corresponding method in an assigned Intercept to make the data in ABuffer available to a chained intercept. 

Receive triggers the OnReceive event when a procedure has been assigned to the event handler. 

Use Send to write data in a buffer to the event handlers and intercepts for the connection 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.