I have an app that uses the wininet.dll APIs to get web pages and to post to
web forms. My problem is that some of my users systems will literally wait
an hour before an Internet call to a site that isn't responding times out.
During this time the app appears to hang since it won't do anything until it
gets a response to the HTTP request. Does anyone know of a way to enforce a
time out on calls to wininet? I have read of setting registry entries to
change the default timeout but this would affect the user's settings for
Internet Explorer and I don't want to do that. I just want to set a timeout
for my application.
Any suggestions would be appreciated!
web forms. My problem is that some of my users systems will literally wait
an hour before an Internet call to a site that isn't responding times out.
During this time the app appears to hang since it won't do anything until it
gets a response to the HTTP request. Does anyone know of a way to enforce a
time out on calls to wininet? I have read of setting registry entries to
change the default timeout but this would affect the user's settings for
Internet Explorer and I don't want to do that. I just want to set a timeout
for my application.
Any suggestions would be appreciated!
Comment