Solved

CSocket error WSAENOBUFS

Posted on 1998-06-02
1
217 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

729 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