remove failed requests

droil

New member
Joined
Mar 5, 2005
Messages
1
Hi,

Im doing requests to a webserver with HttpWebRequest in a thread that starts every time a button is pressed. I want the request to be removed IMMEDATELY if it fails (if for example the network cable is unplugged or no connection to the Internet).

The problem is that old requests is queued and finishes when the cable is plugged in again.

Im new to .NET and any help would be appreciated.

/David
 
Back
Top