1 2 3 4 5 6
| resSetOption := InternetSetOption(PConnexionInternet,INTERNET_OPTION_CONNECT_TIMEOUT, @conntimeout, SizeOf(conntimeout));
resSetOption := InternetSetOption(PConnexionInternet,INTERNET_OPTION_DATA_RECEIVE_TIMEOUT, @conntimeout, SizeOf(conntimeout));
resSetOption := InternetSetOption(PConnexionInternet,INTERNET_OPTION_DATA_SEND_TIMEOUT, @conntimeout, SizeOf(conntimeout));
resSetOption := InternetSetOption(PConnexionInternet,INTERNET_OPTION_SEND_TIMEOUT, @conntimeout, SizeOf(conntimeout));
resSetOption := InternetSetOption(PConnexionInternet,INTERNET_OPTION_RECEIVE_TIMEOUT, @conntimeout, SizeOf(conntimeout));
resSetOption := InternetSetOption(PConnexionInternet,INTERNET_OPTION_CONNECT_RETRIES, @conntimeout, SizeOf(conntimeout)); |
Partager