Network cable

  • Thread starter Thread starter Mystique
  • Start date Start date
M

Mystique

Is there any way to check from application if the network (LAN) cable is
unplugged?
 
I wrote this in the context of a PDA being cradled but the first principle
still holds http://www.devbuzz.com/content/zinc_network_connectivity_pg1.asp

there's an API that I found that's supposed to make this determination but
it never seems to change even if you poll afterward. I've heard the same
from a few other people so AFAIK, the above is probably the most reliable
way I can think of. Of course you could also implement a ping or similar
mechanism but each has some potential shortcomings and this is as robust as
antyhign else.

HTH,

Bill

www.devbuzz.com
www.knowdotnet.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top