🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: How investigate on error 10055 (WSAENOBUFS)

#1818
From: enzo
Date: Tue, 31 Oct 2006 08:03
30 lines
2257 bytes
Nel suo scritto precedente, Remy Lebeau (TeamB) ha sostenuto :

>> After 1 or 2 days of working a server program, with a listen port
>> of type TServerSocket, cant' no more aceess to the net.
>
> Please be more specific.  What exactly can't you access?

The connection from the server to another PC on the LAN using both tcp, 
ssh or http didn't works anymore.


>
>> The error returned is like the one belowe:
>> ERRORE=(2003) Can't connect to MySQL server on 'Localhost' (10061)
>> Socket error on connect. WSAGetLastError return 10055($2747)
>
> It is likely because you have too many active sockets, and WinSock doesn't
> have the memory to handle all of them.  Do you, by chance, have a loop that
> continuously tries to re-connect if a connection fails?  If so, then you are
> probably not closing the socket properly in between each iteration.

If I still have connection pending , opened or trying to opened I 
should see them using netstat or tcpview ( sysinternals ).
Instead I got very few connections, but I' m non more able to connect 
to a web server on my LAN ( oof course the server web is ok, the other 
PC on the LAN is still working well ).
To be able to use the net again I have to reboot the server and this is 
not a good solution.

regards, Enzo
Technical Details
Message-ID: <mn.fa1f7d6a250bdda8.47611@aesys.it>
Path: arc1-ca.pugleaf.net!g2news2.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: <mn.f2b67d6acd45c2c3.47611@aesys.it> <454642e1$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,1eb68246dc93bb41
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
Subject: Re: How investigate on error 10055 (WSAENOBUFS)
From: enzo <enzo.arlati@aesys.it>
References: <mn.f2b67d6acd45c2c3.47611@aesys.it> <454642e1$1@newsgroups.borland.com>
Newsgroups: borland.public.cppbuilder.internet.socket
Message-ID: <mn.fa1f7d6a250bdda8.47611@aesys.it>
X-Newsreader: MesNews/1.06.00.00-it
Date: Tue, 31 Oct 2006 09:03:56 +0100
MIME-Version: 1.0
Reply-To: enzo.arlati@aesys.it
Content-Type: text/plain; charset="iso-8859-15"; format=flowed
Content-Transfer-Encoding: 8bit
NNTP-Posting-Host: 81.208.124.114
X-Trace: newsgroups.borland.com 1162281835 81.208.124.114 (31 Oct 2006 00:03:55 -0700)
Lines: 32
Path: arc1-ca.pugleaf.net!g2news2.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