[zeromq-dev] Event on unplugged cable

Leonard Michelet leonard.michelet at openwide.fr
Wed May 20 11:35:15 CEST 2015

Hi, I'm on Linux, and when i (un)plug an ethernet cable, dmesg show me event such as
[ 4268.169999] xxx 0000:01:00.0: eth0: link down
[ 4274.029239] xxx 0000:01:00.0: eth0: link up

And I would like to receive these event in my c++ program.
Do anyone know a way to get these event using a c/c++ API, or even better, a way to get it using zmq?
I know something like that exist in NetMQ, but since it's only on windows, there must be less portability issues.

Thank you for your help.


More information about the zeromq-dev mailing list