🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: How investigate on error 10055 (WSAENOBUFS)

#1810
From: Remy Lebeau (TeamB)
Date: Mon, 30 Oct 2006 18:18
34 lines
2128 bytes
"enzo" <enzo.arlati@aesys.it> wrote in message
news:mn.f2b67d6acd45c2c3.47611@aesys.it...

> How investigate on error 10055 (WSAENOBUFS)

Start by reading the API documentation for it:

    WSAENOBUFS (10055)

    No buffer space available.

    An operation on a socket could not be performed because the system
lacked sufficient buffer space or because a queue was full.

Next, go to http://www.deja.com and search through the newsgroup archives
for prior discussions on this topic:

> 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 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.


Gambit
Technical Details
Message-ID: <454642e1$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news.glorb.com!news.tele.dk!feed118.news.tele.dk!news.tele.dk!small.news.tele.dk!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>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,1eb68246dc93bb41
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: <mn.f2b67d6acd45c2c3.47611@aesys.it>
Subject: Re: How investigate on error 10055 (WSAENOBUFS)
Date: Mon, 30 Oct 2006 10:18:15 -0800
Lines: 36
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: 69.169.4.232
Message-ID: <454642e1$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1162232545 69.169.4.232 (30 Oct 2006 10:22:25 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news.glorb.com!news.tele.dk!feed118.news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail