Solved

CSocket error WSAENOBUFS

Posted on 1998-06-02
1
202 Views
Last Modified: 2010-04-10
I have not been able to open more than 20 sockets on
any one computer.  Every time I exceed this amount
I get the error telling me that there is not buffer space
available.  Is there a way to increase this space?  I thought
it might be handled with the config.sys BUFFERS= line but
it doesn't seem to change anything.
0
Comment
Question by:jrmcg
1 Comment
 
LVL 32

Accepted Solution

by:
jhance earned 70 total points
ID: 1165116
Assuming your talking about Win95, please look at the MS KB article at:

http://support.microsoft.com/support/kb/articles/Q158/4/74.asp

I think you will get what you want by modifying the MaxConnections key to a higher value.  It's default is 100 but Win95 uses a number of connections internally so in your case, you only able to get 53.  Remember, you have to reboot after modifying this number.  Don't make it too large, however, as you will cause the TCP/IP driver to hog memory.
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Article by: SunnyDark
This article's goal is to present you with an easy to use XML wrapper for C++ and also present some interesting techniques that you might use with MS C++. The reason I built this class is to ease the pain of using XML files with C++, since there is…
IntroductionThis article is the second in a three part article series on the Visual Studio 2008 Debugger.  It provides tips in setting and using breakpoints. If not familiar with this debugger, you can find a basic introduction in the EE article loc…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now