Newsgroups : Microsoft : microsoft.public.inetsdk.programming.wininet : 2006 Nov : Reusing an opened connection

www.cryer.info
Managed Newsgroup Archive

Reusing an opened connection

Subject:Reusing an opened connection
Posted by:testgam..@gmail.com
Date:14 Nov 2006 00:50:35

Hello all,
I'm reusing the same HINTERNET handle returned from InternetConnect to
send many HTTP requests.

My question is:

If, at some point, I receive an error when calling
HttpOpenRequest/HttpSendRequest,
is there any point in recalling InternetConnect and then
HttpOpenRequest/HttpSendRequest?
Or is it the same as recalling HttpOpenRequest/HttpSendRequest on the
same opened handle?

Thanks!

Replies:

www.cryer.info
Managed Newsgroup Archive