?
Solved

CSocket error WSAENOBUFS

Posted on 1998-06-02
1
Medium Priority
?
222 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 280 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

In days of old, returning something by value from a function in C++ was necessarily avoided because it would, invariably, involve one or even two copies of the object being created and potentially costly calls to a copy-constructor and destructor. A…
Introduction This article is the first in a series of articles about the C/C++ Visual Studio Express debugger.  It provides a quick start guide in using the debugger. Part 2 focuses on additional topics in breakpoints.  Lastly, Part 3 focuses on th…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
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.
Suggested Courses

764 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