Monitor For Network Disconnect

This is a discussion on Monitor For Network Disconnect within the C++ Programming forums, part of the General Programming Boards category; This isn't exactly a network question, it deals more with monitoring a computer for an event. Here's the problem: If ...

  1. #1
    Epo
    Epo is offline
    Registered User
    Join Date
    Jun 2003
    Posts
    361

    Monitor For Network Disconnect

    This isn't exactly a network question, it deals more with monitoring a computer for an event. Here's the problem:

    If anybody here's on a network, they'll know that when one of the computer's shuts off, there's a little icon in the system tray that appears that informs you that "A network cable is unplugged".

    I was curious if there was a way to be able to check whether or not that icon is there, or if anybody has any pointers on how to start tackling such a problem.

    I'm open to any suggestions or questions, and I appreciate any insight.

    Erik

  2. #2
    C++ Developer XSquared's Avatar
    Join Date
    Jun 2002
    Location
    Ontario, Canada
    Posts
    2,718
    You could just try pinging that computer, if you want to see if that computer's shut down. Or, you could ping the router to see if your computer is on the network.
    Naturally I didn't feel inspired enough to read all the links for you, since I already slaved away for long hours under a blistering sun pressing the search button after typing four whole words! - Quzah

    You. Fetch me my copy of the Wall Street Journal. You two, fight to the death - Stewie

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Disabling a network interface card to disconnect from LAN..
    By elroy in forum Networking/Device Communication
    Replies: 8
    Last Post: 05-16-2007, 01:53 AM
  2. Disconnect the Internet
    By Queatrix in forum C++ Programming
    Replies: 5
    Last Post: 12-20-2005, 10:20 PM
  3. force modem disconnect or power down
    By iain in forum A Brief History of Cprogramming.com
    Replies: 1
    Last Post: 09-17-2001, 07:17 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21