Article View: borland.public.cppbuilder.internet.socket
Article #5256Re: Client: ctNonBlocking -> Server: stThreadBlocking
From: Remy Lebeau (TeamB)
Date: Mon, 27 Sep 2004 19:57
Date: Mon, 27 Sep 2004 19:57
17 lines
1445 bytes
1445 bytes
"Hans Galema" <dontusethis@dontusethis.nl> wrote in message news:41586b81@newsgroups.borland.com... > As far as I see it the code will do in non-blocking mode. The code will fail if SendBuf() ever reports that it could not send the data due to blocking the socket. > - I'm not quite sure if -1 means an error. Sometimes it does and sometimes it does not. It depends on why -1 is being returned in the first place. If an actual error occurs, the OnError event will be triggered. Gambit
Technical Details
Message-ID:
<415870a7$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!fr.ip.ndsoftware.net!newsfeed00.sul.t-online.de!t-online.de!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<415856d5@newsgroups.borland.com> <41586b81@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> Subject: Re: Client: ctNonBlocking -> Server: stThreadBlocking Date: Mon, 27 Sep 2004 12:57:30 -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: <415870a7$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1096315047 68.69.17.41 (27 Sep 2004 12:57:27 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!fr.ip.ndsoftware.net!newsfeed00.sul.t-online.de!t-online.de!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail