How to read/write records in Indy 10

Giganews Newsgroups
Subject: How to read/write records in Indy 10
Posted by:  Grant Brown (gra…@sitedoc.com.au)
Date: Sun, 20 Aug 2006

Hi,

Using D10 and Indy 10

In Indy 9 I could do :-

IdTCPClient.ReadBuffer(TransRecord,SizeOf(TransRecord),true);

But how do I do this in Indy 10.

I use SendCmd to send a command to a TCP Server expecting the server to
send back a record.

How do I read the returned record in the TCP client component.

also

How do I send the record from the TCP Server component

Many thanks in advance.

Kind Regards
Grant Brown

--

Replies