I'm using the function CInternetSession::OpenURL in a "try" to open a webpage (a servelet which returns XML). The servelet take a little while to respond sometimes (around 13-15 seconds in a web browser).
When it's slow like this, the code catches a CInternetException. Is there a way to see what the time out is? Does it sound like that could be the problem? The servelet responds in a timely fashion most of the time, so the error is difficult to replicate on demand to debug and see what's going on.
I'm open to suggestions of other stuff to look at as well.