|Subject:||Correct way to read records in Indy 10 with TIdTCPClient|
|Posted by:||Grant Brown (gra…@sitedoc.com.au)|
|Date:||Mon, 21 Aug 2006|
Is the following the correct manner in which to read records using the
TIdTCPClient component in Indy 10.
If not could someone show me how to do this.
Also how would I gard against a lost connection during the repeat loop
with IdTCPClient do
if LastCmdResult.NumericCode in [203,204] then
BytesToRaw(ByteBuf, NewLicRec, SizeOf(NewLicRec));
until LastCmdResult.NumericCode = 204;