Alex Rivera | Logout

Asynchronous network interface status check

Asked 2011-10-17T12:22:12.223
9

On Mac OS X, is there a way to get asynchronous notification when the network interface (en0, en1) status changes, such as network interface is active, inactive etc?

Instead of polling for the status, i would like to know is there a way to get asynchronous notification, so that whenever there is a change, notification is fired and app can handle it.

Is this possible?

Thanks,

Edit
Report

1 Answer

-3

Check the top answer here. It is for the iOS SDK but the SystemConfigration framework mentioned is available on Mac OSX too.

answered 2012-01-04T18:51:39.340

Your Answer