System.Net.Sockets.SocketException

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a problem with the following C#-code:

WebClient client = new WebClient();
client.DownloadFile("url", @"downloadfile");

If I run this code the following exception appears:
Eine nicht behandelte Ausnahme des Typs 'System.Net.Sockets.SocketException' ist in system.dll aufgetreten.
Zusätzliche Informationen: Ein Socketvorgang konnte nicht ausgeführt werden, da dem System Pufferspeicher fehlte oder eine Warteschlange voll war.

I found out that in Visual Studio 1.1 it is only possible to have 50 protocols. On my computer there are 58 protocols. Now there is the question how to delete some protocols so that my code works?

Does anyone of you have an idea?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top