469,898 Members | 1,536 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,898 developers. It's quick & easy.

System.Net.Sockets.SocketException

Hi @all,
we have the following problem. We have developed an
application with the Visual Studio.Net 2002 and the project
runs on it. But now we have change the version of the
Studio and now we use the Visual Studio. Net 2003
enterprise architect and now we get the following exception:

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.

What could be the reason for this exception. We have only
changed the version of the Studio!

Thanks for your help,
Paul

Jul 21 '05 #1
1 2370
Without knowing the structure of your app, it's hard to say what's going on.
I know that I was receiving that same error in my app (produced with VS
2003) and finally got rid of it by changing my socket code to use
asynchronous methods instead of using socket blocking calls. Of course,
socket programming is so involved that what worked for me, may not be the
answer for you, however I do think that there are several bugs with using
synchronous (blocking) sockets.

As far as why VS 2003 would introduce your socket error, I have no clue.

"paulbubach" <an*******@discussions.microsoft.com> wrote in message
news:0b****************************@phx.gbl...
Hi @all,
we have the following problem. We have developed an
application with the Visual Studio.Net 2002 and the project
runs on it. But now we have change the version of the
Studio and now we use the Visual Studio. Net 2003
enterprise architect and now we get the following exception:

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.

What could be the reason for this exception. We have only
changed the version of the Studio!

Thanks for your help,
Paul

Jul 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Tim Wagaman | last post: by
1 post views Thread by paulbubach | last post: by
2 posts views Thread by Steve Lowe | last post: by
1 post views Thread by larspeter | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.