On Mac OS X, is there a way to get asynchronous notification when a state of a network interface (en0, en1) changes, such as a network interface, inactive, etc.
Instead of polling for a status, I would like to know if there is a way to get an asynchronous notification, so that whenever there is a change, the notification is fired and the application can process it.
Is it possible?
Thanks,
c ++ c objective-c
user998753
source share