A
Andrew
Hello all.
Could somebody explain me, why the next three lines of code freeze my
application ? (1.1 Framework)
// ---
HttpWebRequest req = (HttpWebRequest)
WebRequest.Create("http://webcams.lemanonline.net/webcams/tropicsnow/nph-update.cgi?dummy=garb");
WebResponse resp = req.GetResponse();
resp.Close();
// ---
The link produce MJPEG stream.
Some of such link works fine. Some produce WebException with such
description: "The underlying connection was closed: The server committed
an HTTP protocol violation". Some links just freeze my application.
Any ideas how to solve the problem ?
Andrew
Could somebody explain me, why the next three lines of code freeze my
application ? (1.1 Framework)
// ---
HttpWebRequest req = (HttpWebRequest)
WebRequest.Create("http://webcams.lemanonline.net/webcams/tropicsnow/nph-update.cgi?dummy=garb");
WebResponse resp = req.GetResponse();
resp.Close();
// ---
The link produce MJPEG stream.
Some of such link works fine. Some produce WebException with such
description: "The underlying connection was closed: The server committed
an HTTP protocol violation". Some links just freeze my application.
Any ideas how to solve the problem ?
Andrew