Re: Detecting network change
Re: Detecting network change
- Subject: Re: Detecting network change
- From: "Justin C. Walker" <email@hidden>
- Date: Tue, 21 Oct 2008 14:01:41 -0700
On Oct 21, 2008, at 13:32 , Greg wrote:
Hi, is there any way to know when the network changes?
I'm concerned specifically for regarding network changes on the
iPhone, but I think that this question probably applies to OS X in
general. When the user does something (or the operating system does
it for them, in the case of the iPhone) like change the wireless
access point they're connected to from the Airport Menu, their IP
address information changes.
Is there any way of being notified when this happens?
Others have pointed you to the correct framework. You might want to
check the command-line tool scutil. It uses the framework, and its
source code is available on the Darwin site (in the configd project).
Justin
--
Justin C. Walker, Curmudgeon at Large
Institute for the Absorption of Federal Funds
-----------
Like the ski resort full of girls hunting for husbands
and husbands hunting for girls, the situation is not
as symmetrical as it might seem.
- Alan MacKay
--
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden