I was wondering if there's a window message that goes together with the connecting and disconnecting of an internet connection. If you know it's possible, or if you are sure it's NOT possible ;-), then please tell me...
Yes there are lot of WinAPIs related to internet referred to as WinInetAPIs. You can use InternetOpen, InternetConnect, HttpOpenRequest and HttpSendRequest in the order specified to connect to a site and request for a page or to post some data to the page. There are a lot many APIs defined and you can also develope a small browser with these APIs. All these APIs are defined in the wininet.dll, which is present in the <windir>\system32 directory. Some of these APIs are also used by Internet Explorer.
I don't have any material with me right now, but you will easily find lots of sample code and explanation on how to use these APIs on net. Use "WinInetAPI" as the search string.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.