Article View: borland.public.cppbuilder.internet.socket
Article #5265Re: Client: ctNonBlocking -> Server: stThreadBlocking
From: Remy Lebeau (TeamB)
Date: Mon, 27 Sep 2004 20:54
Date: Mon, 27 Sep 2004 20:54
13 lines
1507 bytes
1507 bytes
"Vladimir Stefanovic" <spam@not.needed> wrote in message news:41587aef@newsgroups.borland.com... > Sorry for the wrong info. I checked deeper now. It fails at: That is probably because you are not treating -1 correctly to begin with. When -1 is returned AND the OnError event is not triggered, then you have to wait for the OnWrite event and then seek your stream backwards and resend the SAME data again. You are not currently doing any of that. Gambit
Technical Details
Message-ID:
<41587de7@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.frii.net!newsfeed.frii.net!news.compaq.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<415856d5@newsgroups.borland.com> <41586b81@newsgroups.borland.com> <415872f2@newsgroups.borland.com> <41587843$1@newsgroups.borland.com> <41587aef@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,b3058d6528d1daa1 X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.internet.socket References: <415856d5@newsgroups.borland.com> <41586b81@newsgroups.borland.com> <415872f2@newsgroups.borland.com> <41587843$1@newsgroups.borland.com> <41587aef@newsgroups.borland.com> Subject: Re: Client: ctNonBlocking -> Server: stThreadBlocking Date: Mon, 27 Sep 2004 13:54:02 -0700 Lines: 15 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 68.69.17.41 Message-ID: <41587de7@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1096318439 68.69.17.41 (27 Sep 2004 13:53:59 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.frii.net!newsfeed.frii.net!news.compaq.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail