Solved

CSocket error WSAENOBUFS

Posted on 1998-06-02
1
204 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

  Included as part of the C++ Standard Template Library (STL) is a collection of generic containers. Each of these containers serves a different purpose and has different pros and cons. It is often difficult to decide which container to use and …
This article will show you some of the more useful Standard Template Library (STL) algorithms through the use of working examples.  You will learn about how these algorithms fit into the STL architecture, how they work with STL containers, and why t…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

911 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

15 Experts available now in Live!

Get 1:1 Help Now