Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 Dec : Re: idTcpClient and Streams

www.cryer.info
Managed Newsgroup Archive

Re: idTcpClient and Streams

Subject:Re: idTcpClient and Streams
Posted by:"Kendrick" (kkendri..@harbornet.com)
Date:Thu, 6 Dec 2007 16:09:56

Last Post - The issue was with the IDCommand Reply. It was getting
comminlged with the Stream. In the OnCommand event I set the
ASender.PerformReply to false - now Streaming away!

rocedure TMyServer.CommandSENDDATA(aSender: TIDCOmmand);
begin
  try
    aSender.PerformReply:= False;{ turn off reply to not pollute the stream}
    ...


"Kendrick" <kkendrick@harbornet.com> wrote in message
news:47571340$1@newsgroups.borland.com...
>I am using a idCmdServer and an idTCPClient. Asa response to a given
>command the server will build a dataset, save it to a Tmemorystream and
>then inform the client of the stream size. The client then asks for the
>stream and loads it into a dataset on it's side. Only it is not working. I
>have looked in both the help and Indy Indepth but am stuck at this point to
>even know that the server is actually sending the stream. ANy clues would
>be most appreciated.

Replies:

In response to:

www.cryer.info
Managed Newsgroup Archive