Newsgroups : Microsoft : microsoft.public.inetsdk.programming.wininet : 2006 Oct : Detecting internet connection status wininet
| Subject: | Detecting internet connection status wininet |
| Posted by: | suresh...@gmail.com |
| Date: | 27 Oct 2006 05:17:27 |
Dear All,
Problem scenario:
In my application, I have a network resource from where I am getting
the data. This is a real time software, where network status should be
monitored continuously. If there is a change in connection status, my
application should able to notify it the user thro' a dialog box (like
network disconnection). Once the connection is re established, I should
able to work smoothly.
Problem:
To monitor URL connection continuously and update the connection
status. I using InternetSetStatusCallback() for this purpose. Some how
it is not working. Can some one show me how to use the callback
function here?
thanks in advance
suresh