A
a_newcomb
I have an application which polls and connects to a webserver on a
background thread. When the application is supposed to exit, I call
abort on the HttpWebRequest object. I have observed that when the PDT
has no network connections ( i.e. configured for dhcp on the wireless
interface, and the wireless settings aren't configured ), and the
HttpWebRequest is blocking on GetRequestStream, abort doesn't throw an
exception and the HttpWebRequest continues to block. I have also tried
setting the timeout, and GetRequestStream doesn't seem to obey the
timeout either, I can't get the call to GetRequestStream to stop. It
appears to hang, but as soon as any changes to the network connections
are made, it immediately responds with timed out or aborted. Any help
would be greatly appreciated. I can't reproduce this on the emulator,
only with an actual handheld.
thanks,
-a.n.
background thread. When the application is supposed to exit, I call
abort on the HttpWebRequest object. I have observed that when the PDT
has no network connections ( i.e. configured for dhcp on the wireless
interface, and the wireless settings aren't configured ), and the
HttpWebRequest is blocking on GetRequestStream, abort doesn't throw an
exception and the HttpWebRequest continues to block. I have also tried
setting the timeout, and GetRequestStream doesn't seem to obey the
timeout either, I can't get the call to GetRequestStream to stop. It
appears to hang, but as soon as any changes to the network connections
are made, it immediately responds with timed out or aborted. Any help
would be greatly appreciated. I can't reproduce this on the emulator,
only with an actual handheld.
thanks,
-a.n.