Internet Direct (Indy) Version 9.0.1 Beta
|
procedure ReadBuffer(var ABuffer; const AByteCount: Longint);
ReadBuffer calls ReadFromStack to insure that the Indy read buffer contains at least the number of bytes specified in AByteCount. ReadBuffer calls CheckForDisconnect to insure that the socket connection has not been closed. ReadBuffer calls RemoveXBytesFromBuffer to remove the number bytes specified from the Indy read buffer.