Web Development

General discussion


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.

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.

Related Discussions

Related Forums