G
Guest
Hi,
I am trying to get continous streams of data from the same web server using
this sample code. It works fine if i starts two threads from the same program
which continously stream different data from the same webserver, but as soon
as i start the third streama gainst the same webserver in a new thread i keep
getting timouts from the webrequest. If i start other streams (up to 25) from
other web servers i have no problems. So is there any known limitation in how
many streams i can do against the same webserver ? and any known workaround ?
Rgds, Henrik
---
wrs = (HttpWebRequest)WebRequest.Create(SomeURL);
wrs.Credentials = myCred;
wst = (HttpWebResponse)wrs.GetResponse();
str = wst.GetResponseStream();
I am trying to get continous streams of data from the same web server using
this sample code. It works fine if i starts two threads from the same program
which continously stream different data from the same webserver, but as soon
as i start the third streama gainst the same webserver in a new thread i keep
getting timouts from the webrequest. If i start other streams (up to 25) from
other web servers i have no problems. So is there any known limitation in how
many streams i can do against the same webserver ? and any known workaround ?
Rgds, Henrik
---
wrs = (HttpWebRequest)WebRequest.Create(SomeURL);
wrs.Credentials = myCred;
wst = (HttpWebResponse)wrs.GetResponse();
str = wst.GetResponseStream();