🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: TServerSocket SendText Exception

#2390
From: Eric Patterson
Date: Fri, 21 Apr 2006 11:47
41 lines
2812 bytes
Gambit

The problem I was having was a software exception (0x0eedfade) occured in 
the application at the location 0x7c81e633.  I found after some research 
that this usually shows up when a linked dll has an excpetion which isn't 
being handled.  I removed a dll which I was temporary using to track memory 
sector overwrites; since I have never seen that error until now.  That 
exception has gone away and since in this process of finding my problems I 
removed clearing the errorcode integer on a Socket OnError event, I came in 
this morning with an asynchronous socket error 10053 which I already know is 
what the socket throws back to me when it is full and busy.  I would of 
expected this error soon after starting the app but it didn't occur until 5 
hours later.  I will make the additions now that when I see a 10053 in the 
OnError event to wait for a ClientWrite Event to occur before continuing on; 
like we have discussed before.

Eric


"Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message 
news:44480b3f$1@newsgroups.borland.com...
>
> "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: <4448c637$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news4.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!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> <44480b3f$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: "Eric Patterson" <eric.patterson@bepco.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> <44480b3f$1@newsgroups.borland.com>
Subject: Re: TServerSocket SendText Exception
Date: Fri, 21 Apr 2006 07:47:03 -0400
Lines: 43
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 70.225.107.130
Message-ID: <4448c637$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1145620023 70.225.107.130 (21 Apr 2006 04:47:03 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news4.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail