General discussion

Locked

network cable unplugged

By gsebring ·
How can I detect a network cable being unplugged from within my c++ application similar to the notification that microsoft provides at the bottom right hand corner of the desktop?

This conversation is currently closed to new comments.

1 total post (Page 1 of 1)  
Thread display: Collapse - | Expand +

All Comments

Collapse -

by Jaqui In reply to network cable unplugged

pull the data from netstat. ( windows )
require as dependancy one of the traffics tools for *x, and pull output from it to get the connectivity.

of course, the data only tells you if the network connection is active.
it doesn't tell you if the cable is unplugged or server down.
it takes a visual check for that.

Back to Web Development Forum
1 total post (Page 1 of 1)  

Related Discussions

Related Forums