Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 Sep : Re: Indy 9 TPC client/Server and CommandHandlers
| Subject: | Re: Indy 9 TPC client/Server and CommandHandlers |
| Posted by: | "Remy Lebeau (TeamB)" (no.spam@no.spam.com) |
| Date: | Mon, 24 Sep 2007 12:41:49 |
"RandomAccess" <Not@TellingYou.com> wrote in message
news:46f80b7e$1@newsgroups.borland.com...
> When the server recognizes the command and sends the response,
> I then want it to send any required data (probably a stream) to the
client.
So what's the problem? On the server side, simply call ASender.SendReply()
to send the response manually before then sending the data as needed. On
the client side, after SendCmd() exits, if the response indicates a success
from the server then read the additional data as needed.
> I think I need to implement my own IOHandler for the client
No, you don't.
Gambit