I am getting the following error in VB .net whenever I try to use the downloadfile fucntionality of the webclient.
An unhandled exception of type 'System.Net.Sockets.SocketException' occurred in system.dll
Additional information: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full
does anyone have any idea how to fix this? Here is one sample of code I am using:
Dim updateFile As New System.Net.WebClient
updateFile.DownloadFile("<<address removed>>/version.txt", Application.StartupPath & "version.txt")
Question
bangbang023 Veteran
I am getting the following error in VB .net whenever I try to use the downloadfile fucntionality of the webclient.
does anyone have any idea how to fix this? Here is one sample of code I am using:
Link to comment
Share on other sites
13 answers to this question
Recommended Posts