🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #5264

Re: Client: ctNonBlocking -> Server: stThreadBlocking

#5264
From: Vladimir Stefanovic
Date: Mon, 27 Sep 2004 20:42
24 lines
1634 bytes
Remy Lebeau (TeamB) wrote

> > I just tried to send the data (wich works perfectly with
> > ctBlocking), but unfortunately Client's OnError() is
> > triggered when ctNonBlocking (haven't checked what error).
>
> It would help to know what the actual error is.

Sorry for the wrong info. I checked deeper now. It fails at:


|  // if the number of sent bytes is less then ZERO it's an
|  // error...
|         if ( NumberOfBytesSentZ < 1 )
|         {
|            ClientSocket->Close();
|            ShowMessage( "Error!" );
|            return; // Error ...
|         }



Best regards,
Vladimir Stefanovic
Technical Details
Message-ID: <41587aef@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-mail
References: <415856d5@newsgroups.borland.com> <41586b81@newsgroups.borland.com> <415872f2@newsgroups.borland.com> <41587843$1@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: "Vladimir Stefanovic" <spam@not.needed>
Newsgroups: borland.public.cppbuilder.internet.socket
References: <415856d5@newsgroups.borland.com> <41586b81@newsgroups.borland.com> <415872f2@newsgroups.borland.com> <41587843$1@newsgroups.borland.com>
Subject: Re: Client: ctNonBlocking -> Server: stThreadBlocking
Date: Mon, 27 Sep 2004 22:42:40 +0200
Lines: 27
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
NNTP-Posting-Host: 213.137.116.181
Message-ID: <41587aef@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1096317679 213.137.116.181 (27 Sep 2004 13:41:19 -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