Internet Direct (Indy) Version 9.0.2 Beta
TIdTCPConnection.CurrentReadBuffer
Updates the Indy buffer with data from the protocol stack.

function CurrentReadBuffer: string;
Returns
String - Contents of the Indy buffer.

Description
CurrentReadBuffer is a String function that reads any pending data from the protocol stack for a Connected session, and adds the data to the Indy read buffer.

The return value includes all data in the Indy buffer up to size of the internal buffer. Result may also be '' (empty string) if no data is present in the internal Indy buffer.