Article View: borland.public.cppbuilder.internet.socket
Article #1267Re: WSAGetLastError return always 6
From: Eduardo Jauch
Date: Mon, 26 Feb 2007 03:51
Date: Mon, 26 Feb 2007 03:51
9 lines
1274 bytes
1274 bytes
Eduardo Jauch escreveu: > Why is recv returning 0? > It wouldn't wait until receive some data? I was reading that this can mean that the connection was closed... If this is true, I need to check for 0 bytes received and reconnect/send/recv(in loop) again? Thanks!
Technical Details
Message-ID:
<45e25927$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<45e24baa@newsgroups.borland.com> <45e25047$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,ead06e5a7c488245 X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Mon, 26 Feb 2007 00:51:57 -0300 From: Eduardo Jauch <eduardo.jauch@gmail.com> User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.internet.socket Subject: Re: WSAGetLastError return always 6 References: <45e24baa@newsgroups.borland.com> <45e25047$1@newsgroups.borland.com> In-Reply-To: <45e25047$1@newsgroups.borland.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 201.3.108.172 Message-ID: <45e25927$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1172461863 201.3.108.172 (25 Feb 2007 19:51:03 -0800) Lines: 9 Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail