meanfox
2007-03-22 06:15:16 UTC
Hi,
When I use IE to download a test file it takes about 3 seconds (non-
cached).
My own WinInet code using InternetReadFile takes about 7 seconds (also
non-cached).
This is repeatable. It is a 644K file. This is on XP SP2 with IE7.
Can anyone explain this and tell me how to speed up my WinInet
download? I thought IE used WinInet?
I have experimented with a few things that made no difference:
* Running synchronously vs running in a thread
* Downloading in 1 call to InternetReadFile vs. downloading many 1K
chunks
Please advise!
Tom
When I use IE to download a test file it takes about 3 seconds (non-
cached).
My own WinInet code using InternetReadFile takes about 7 seconds (also
non-cached).
This is repeatable. It is a 644K file. This is on XP SP2 with IE7.
Can anyone explain this and tell me how to speed up my WinInet
download? I thought IE used WinInet?
I have experimented with a few things that made no difference:
* Running synchronously vs running in a thread
* Downloading in 1 call to InternetReadFile vs. downloading many 1K
chunks
Please advise!
Tom