I use wininet to contact a web server. But, if that web server is offline or unreachable, the timeout was TOO LONG. Almost (or more) than 2 minutes.
And nothing can be done inside application to cancel this (blocking).
So, my application freeze.
Is there any trick so I can cancel the process? or shorten the timeout value ...
Any source code example would be appreciated.