Internet Direct (Indy) Version 9.0.1 Beta
|
procedure ReadStrings(var AValue: TStrings; AReadLinesCount: Integer);
AReadLinesCount is the number of lines expected from the TCP connection, or -1 when the connection will contain an Integer that indicates the number of lines to be read. ReadStrings calls ReadInteger to get the line count when AReadLinesCount contains -1.
ReadStrings repetitively calls ReadLn until the number of expected lines has been read from the TCP connection.