Results 1 to 2 of 2

Thread: Checking for active network/internet connections

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 2000
    Posts
    5

    Question

    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

  2. #2

    Same problem

    I am also having the same problem with the "InternetGetConnectedState function". I pulled the cable out and it still says online, even after refreshing. Any help is appreciated.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width