views:

140

answers:

1

I would like to know whether WinInet or WinHttp will get webpage contents quickly or is there any other quicker method for getting webpage content (less than 1 sec).

The programming environment which I am using is VC++

A: 

As said by the commenters, Internet doesn't guarantee load times.

As for the specific API, I'd use XMLHTTPRequest COM object instead of WinInet or WinHttp.

P.S. Don't forget to call CoInitialize.

Soonts