Solved

CSocket error WSAENOBUFS

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

Independent Software Vendors: 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

Suggested Solutions

Errors will happen. It is a fact of life for the programmer. How and when errors are detected have a great impact on quality and cost of a product. It is better to detect errors at compile time, when possible and practical. Errors that make their wa…
  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 …
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 learn how to clear a vector as well as how to detect empty vectors in C++.

734 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