473,396 Members | 2,106 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full


When I call Dns.GetHostByName(Dns.GetHostName()) on one of our lab boxes I
get the below exception. I've seen posts saying others in these newsgroups
have seen similar issues since moving to .Net. I currently can only
reproduce it on one lab box. The box is running Windows 2000 Pro SP4. I
can write C socket code that works fine - but .Net returns the below. Can
anyone help?
System.Net.Sockets.SocketException : An operation on a socket could not be
performed because the system lacked sufficient buffer space or because a
queue was full
at System.Net.Sockets.Socket.InitializeSockets()
at System.Net.IPAddress..cctor()
at System.Net.Sockets.Socket.InitializeSockets()#0@0
at System.Net.IPAddress..cctor()#0@0
Nov 15 '05 #1
1 17042
Could this be it? I have 3 adaptors in my system - which doesn't seem to
add up to 50. But it sounds like the same issue. We're running Net 1.1.

http://support.microsoft.com/default...b;en-us;826757
"Frank Jones" <jo***@jonsey.com> wrote in message
news:eB**************@TK2MSFTNGP11.phx.gbl...

When I call Dns.GetHostByName(Dns.GetHostName()) on one of our lab boxes I
get the below exception. I've seen posts saying others in these newsgroups have seen similar issues since moving to .Net. I currently can only
reproduce it on one lab box. The box is running Windows 2000 Pro SP4. I
can write C socket code that works fine - but .Net returns the below. Can
anyone help?
System.Net.Sockets.SocketException : An operation on a socket could not be
performed because the system lacked sufficient buffer space or because a
queue was full
at System.Net.Sockets.Socket.InitializeSockets()
at System.Net.IPAddress..cctor()
at System.Net.Sockets.Socket.InitializeSockets()#0@0
at System.Net.IPAddress..cctor()#0@0

Nov 15 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Terry Sanders | last post by:
Hi, For various reasons I need to how many packets are queued in the SO_RCVBUF of a udp socket. I know there are various mechanisms for detecting if there is one or more packets queued, but I...
4
by: Brian Rice | last post by:
I have a socket application that is sending and receiving packets asynchronously. It works great except, when I receive packets that are larger than my receive buffer which then generate several...
4
by: Sačo Zagoranski | last post by:
Hi! I'm writing a simple 3D First person shooter game. It is a multiplayer game, where all the players connect to one server.
13
by: coloradowebdev | last post by:
i am working on basically a proxy server that handles requests via remoting from clients and executes transactions against a third-party server via TCP. the remoting site works like a champ. my...
9
by: Macca | last post by:
Hi, I have a synchronous socket server which my app uses to read data from clients. To test this I have a simulated client that sends 100 byte packets. I have set up the socket server so...
4
by: Engineerik | last post by:
I am trying to create a socket server which will listen for connections from multiple clients and call subroutines in a Fortran DLL and pass the results back to the client. The asynchronous socket...
3
by: Cheryl | last post by:
Hi. I am having a problem on handling asynchronous sockets in C#. I implemented a pair of client and server sockets. The connection is ok when first connected. However, when I turned off the...
4
by: Adam Clauss | last post by:
A while back I posted regarding a problem we were having with one of our applications which was randomly crashing. Monitoring memory usage revealed a spike in nonpaged pool memory just prior to...
4
by: aMerkert17 | last post by:
I'm trying to write a Silverlight client that communicates with a server on a virtual machine over sockets. The service works as expected for several minutes before throwing the following exception:...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.