🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: TServerSocket SendText Exception

#2387
From: Remy Lebeau (TeamB)
Date: Thu, 20 Apr 2006 22:26
18 lines
1691 bytes
"Eric Patterson" <eric.patterson@bepco.com> wrote in message
news:4447d8b4$1@newsgroups.borland.com...

> I did do the change and I am getting different problems now
> which I am trying to fix

What problems are you having now?  Please elaborate.

> if SendText doesn't send the entire amount and I fill the socket buffer
> wouldn't it call the ServerSocket OnError event?

No.  The OnError event is only triggered for actual socket errors.  A
blocking send is not an error.  WSAEWOULDBLOCK will never trigger the
OnError event.


Gambit
Technical Details
Message-ID: <44480b3f$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news3.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
References: <44439c71$1@newsgroups.borland.com> <4443ca2a$1@newsgroups.borland.com> <4447a6f6$1@newsgroups.borland.com> <4447b917$3@newsgroups.borland.com> <4447c0b0$1@newsgroups.borland.com> <4mkf429644ao82ak653gcltqtf4v2g698j@4ax.com> <4447d8b4$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,fea0b13af0f4efa8
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: <44439c71$1@newsgroups.borland.com> <4443ca2a$1@newsgroups.borland.com> <4447a6f6$1@newsgroups.borland.com> <4447b917$3@newsgroups.borland.com> <4447c0b0$1@newsgroups.borland.com> <4mkf429644ao82ak653gcltqtf4v2g698j@4ax.com> <4447d8b4$1@newsgroups.borland.com>
Subject: Re: TServerSocket SendText Exception
Date: Thu, 20 Apr 2006 15:26:35 -0700
Lines: 20
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: <44480b3f$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1145572159 68.69.17.41 (20 Apr 2006 15:29:19 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news3.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