HINTERNET internet_session = InternetOpen(your.args.....);
DWORD rec_timeout = 300 * 1000; // override the 30 second timeout InternetSetOption(internet_session, INTERNET_OPTION_RECEIVE_TIMEOUT, &rec_timeout, sizeof(rec_timeout));
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)