The text of this article is not in this database — only its details are. Read it on the old site: Common HTTP and FTP WinInet APIs
3 Comments
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment.
The text of this article is not in this database — only its details are. Read it on the old site: Common HTTP and FTP WinInet APIs
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment.
AnthonyPosted Jan 23, 2009, 3:45 AM
Hi, I am Anthony from Singapore. First, thank you for this excellent article. It really helped me to use WinInet. I have a question regarding the speed of HttpSendRequest. I am developing a real-time application. I found that HttpSendRequest is quite slow in processing. I used following code to find the processing time: clock_t start_time = clock(); HttpSendRequest( hData, Iheader, lstrlen( Iheader ), cgiParam, strlen( cgiParam ) ); cout << "time: " << ( ( clock() - start_time ) / CLOCKS_PER_SEC ) << endl; It turned out the processing time was always more than 1 second (usually 2 second and more). Do you have any suggestion to improve the processing time? Thank you.