How do I detect whether of not an Internet connection exists?
Posted on 1997-04-06
My problem is that I need to test whether or not a connection to the internet exists in windows95. The obvious solution is to test your own IP address and compare it to 127.0.0.1 . If the comparison is true, your offline. Any other IP address means your online.
The problem is that with windows95, any call to winsock triggers the dialer. I DO NOT want to trigger the dialer if there is no connection to the internet.
So, I guess my question is:
How do I make a call to Winsock without triggering the dialer?