Article View: borland.public.cppbuilder.internet.socket
Article #2080Re: Trouble with the Last Indy9v with the CB6 vs. old Indy9 (vers.about 2 years ago)
From: Remy Lebeau (TeamB)
Date: Wed, 09 Aug 2006 06:47
Date: Wed, 09 Aug 2006 06:47
17 lines
1940 bytes
1940 bytes
"Vladimir Zhuchko" <zhuchko@jinr.ru> wrote in message news:44d965b6$1@newsgroups.borland.com... > No, not so. After recompiling of the project with > the old indy9 ReadSream is working well! The only way for EIdConnClosedGracefully to be thrown is for the socket to have returned 0 bytes received during the loop. Since the loop also writes all pending data to the output stream, there is no way for ReadStream() not to return all available data when a disconnect occurs. If you look at the source code for ReadStream() in Indy 9 and 10, they are virtual identical. Your problem has to be elsewhere. So again, I ask you to provide SPECIFIC DETAILS about what EXACTLY you think is not working properly. Gambit
Technical Details
Message-ID:
<44d9856d$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<44d48b8a$1@newsgroups.borland.com> <44d4ec3d$1@newsgroups.borland.com> <44d4fe11$1@newsgroups.borland.com> <44d59315$1@newsgroups.borland.com> <44d77e9d$1@newsgroups.borland.com> <44d82469@newsgroups.borland.com> <44d8cf61$1@newsgroups.borland.com> <44d965b6$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,155ac3f4defc30c0 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: <44d48b8a$1@newsgroups.borland.com> <44d4ec3d$1@newsgroups.borland.com> <44d4fe11$1@newsgroups.borland.com> <44d59315$1@newsgroups.borland.com> <44d77e9d$1@newsgroups.borland.com> <44d82469@newsgroups.borland.com> <44d8cf61$1@newsgroups.borland.com> <44d965b6$1@newsgroups.borland.com> Subject: Re: Trouble with the Last Indy9v with the CB6 vs. old Indy9 (vers.about 2 years ago) Date: Tue, 8 Aug 2006 23:47:53 -0700 Lines: 19 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: <44d9856d$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1155106157 68.69.17.41 (8 Aug 2006 23:49:17 -0700) Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail