• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Detecting network change
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Detecting network change
      • From: Greg <email@hidden>
References: 
 >Detecting network change (From: Greg <email@hidden>)

  • Prev by Date: Re: Detecting network change
  • Next by Date: Re: Detecting network change
  • Previous by thread: Re: Detecting network change
  • Next by thread: Re: Detecting network change
  • Index(es):
    • Date
    • Thread