What is the max number of Net.WebClient connections?
Running a service on O/S W2003 which makes many posts using Net.WebClient. In fact, here's the code:
Dim web As New System.Net.WebClient
Dim d() As Byte
Dim address As New Uri(sUrl)
web.Headers.Add("Content-Type", "application/x-www-form-urlencoded")
d = System.Text.Encoding.ASCII.GetBytes("SEARCHSTRING=test")
web.UploadDataAsync(address, "POST", d)
This routine gets called upto 20 times every 10 seconds.
While the above routine is running we may also need to make a non-asynchronous post (same code as above but using web.UploadData). What happens is the non-asynchronous post always times out.
What I don't know is if the problem is on the server we are posting to, or whether we are exceeding the outgoing connections on the source server.
Any insight into how .NET.Webclient handles these requests would be really helpful.
Thanks in advance.

