You should set:
INTERNET_OPTION_RECEIVE_TIMEOUT
INTERNET_OPTION_SEND_TIMEOUT
INTERNET_OPTION_CONNECT_TIMEOUT
If you set all three to 2 seconds, then the entire operation could take up to 6 seconds.
gg
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 3 of 3
Thread: Timeout for HTTPSendRequestThreaded View
|
Click Here to Expand Forum to Full Width |