Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Jun : Re: IdTCPServer
| Subject: | Re: IdTCPServer |
| Posted by: | "Remy Lebeau (TeamB)" (no.spam@no.spam.com) |
| Date: | Fri, 16 Jun 2006 10:55:07 |
"brandon" <someone@microsoft.com> wrote in message
news:4492edd7$1@newsgroups.borland.com...
> To clarify, the server has a TMyPeerThread(AThread).Data property.
> Can the client set or read the .Data Property
No.
> or is it only set / read from the server?
Yes.
> If TMyPeerThread(AThread).Data is a TClientDataSet, can I access
> the data from TClientDataSet(TIdTCPClient.???).FieldByName(.....
No. The client would have to send a command to the server asking for the
data, and the server would then access the TClientDataSet, format the data
as needed, and send it back to the client.
Gambit