Hello

I hope someone can help me. So far I always used KeepAlive to detect if my socket connection is ok or lost. Now I want to write a small program in C++ for windows which only displays a list of my current network cards and is the cable is plugged in or not. Similar to the list in the settings from Windows itself.

Is there any way how I can get notified about the network state of my cards without having a socket connection to somewhere?