winInet.dll not attempted to reconnect in win2k
Hi..
My application currently uses a network dialup connection which we currently create. We also specifiy in our application to use this connection speficially (as apposed to the default incase
they already have a connection set up) The problem is this..
Our application is set to dial up our server every hour through a
modem on a external site. It makes 4 attempts to do so, or will wait till the next hour if the line was not accessable. Unfortunately
we have noticed in windows 2000 (works fine on 95,98,NT) that
the API remembers that it could not connect and therefore an hour later when it attempts to connect, the wininet API
call, returns the fact it could not connect previously and therefore returns cannot connect without even trying.
The way round this is to tell our program to not use our connection, then when it attempts to connect it prompts for which connection it should use first.. you then pick our connection and bingo.. it works.. unfortunately, this is not acceptable and i want to attempt to use the connection regardless of wheather it failed last time or not..