Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 Feb : Re: Reading the data off a buffer.
| Subject: | Re: Reading the data off a buffer. |
| Posted by: | "Graham Harris" (..@bmsgharr.globalnet.co.uk) |
| Date: | 22 Feb 2007 04:12:42 |
Remy Lebeau (TeamB) wrote:
> Are you implementing the protocol yourself on both ends? If so, then
> I strongly suggest you use suggestion #1 that I mentioned earlier.
OK
> > The problem is that one of the XML documents is from a legacy
> > application that used a TServerSocket that uses
> >Socket.ReceiveText.
>
> What exactly does it send overall? It has to be providing a way to
> indicate when the document is finished being sent.
After the XML Document the client of this legacy stream sends #13#13 at
the end of the buffer.
Graham