Http connection timeout
C / C++ / MFC
2
Posts
2
Posters
0
Views
1
Watching
-
Hi I want to send data using POST method. I use CAmHttpSocket, everything works fine, but generally how to set a timeout in case the server doesn't respond. Please help
-
Hi I want to send data using POST method. I use CAmHttpSocket, everything works fine, but generally how to set a timeout in case the server doesn't respond. Please help
I'm not sure what CAmHttpSocket is but I think what you are looking for is CInternetSession::SetOption(INTERNET_OPTION_CONNECT_TIMEOUT, ...).