Article View: borland.public.cppbuilder.internet.socket
Article #3235Re: i need ideas/comments with tclientsocket
From: Jonathan Benedicto
Date: Mon, 31 Oct 2005 16:24
Date: Mon, 31 Oct 2005 16:24
12 lines
1586 bytes
1586 bytes
Hans Galema wrote: > If you check for Data->Length == 0 then you are not allowing the > sender to send more than one message at a time. If the sender sends more > messages at once than the second message can have partly come in with > the first message. Better check if a complete message came in. > You then cannot automatically clear the stream also because of a next > message already partly present. Please could you explain why ? I looked at my code again, and it never reads more than the message said its size was. Jonathan
Technical Details
Message-ID:
<43664528$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!proxad.net!194.117.148.138.MISMATCH!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<43662baf$1@newsgroups.borland.com> <43663272$1@newsgroups.borland.com> <43664213$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,5c33b8c6a9ca7fdb X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Jonathan Benedicto" <incorrect@no.server> Newsgroups: borland.public.cppbuilder.internet.socket References: <43662baf$1@newsgroups.borland.com> <43663272$1@newsgroups.borland.com> <43664213$1@newsgroups.borland.com> Subject: Re: i need ideas/comments with tclientsocket Date: Mon, 31 Oct 2005 11:24:15 -0500 Lines: 14 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2670 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670 X-RFC2646: Format=Flowed; Response NNTP-Posting-Host: 69.158.116.150 Message-ID: <43664528$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1130775848 69.158.116.150 (31 Oct 2005 08:24:08 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!proxad.net!194.117.148.138.MISMATCH!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail