Jeff Crumb
Nov 28th, 2000, 12:18 PM
I am trying to write a program that will detect whether or not my PC is connected to a LAN or connected to another source via Dial-up networking. I've tried using the InternetGetConnectedState function, but it doesn't seem to be working properly. It detects when my PC is connected to the internet via Dial-up Networking or not, but it doesn't properly detect when my LAN connection is lost. Even if I physically disconnect my LAN cable, the program tells my that I have an active connection via my LAN.
Has anyone out there ever experienced this? What can I try to solve the problem?
Thanks,
Jeff Crumb
Has anyone out there ever experienced this? What can I try to solve the problem?
Thanks,
Jeff Crumb