Newsgroups : Microsoft : microsoft.public.inetsdk.programming.wininet : 2006 Jan : HTTP/HTTPS connection
| Subject: | HTTP/HTTPS connection |
| Posted by: | "Petar Popara" (my.fa..@mail.net) |
| Date: | Thu, 12 Jan 2006 15:09:08 |
I'm using following WinINET functions:
InternetOpen()
InternetConnect()
HttpOpenRequest()
HttpAddRequestHeaders()
---------------------------------
HttpSendRequestEx()
InternetWriteFile()
HttpEndRequest()
InternetReadFile()
I execute first group of functions to get request handle and then I execute
second group of functions several times. The problem is that I don't close
(destroy) request/connection handle for a long time and connection might be
lost whwn I execute second group of function again (after several
minutes/hours/days). How can I find out if connection/request handles are
invalid to make a connection once again?