• 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: How to get AirPort Connection Status
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to get AirPort Connection Status


  • Subject: Re: How to get AirPort Connection Status
  • From: "Michael Ash" <email@hidden>
  • Date: Thu, 18 Sep 2008 11:21:05 -0400

On Thu, Sep 18, 2008 at 12:50 AM, Rashmi Vyshnavi
<email@hidden> wrote:
> I want to know when my computer connects/disconnects to WiFi/AirPort
> network.
> Is there a way to get the status of connection to a WiFi network. I tried
> using System Configuration API,but I could not get the status. Here is the
> snippet

I am not greatly familiar with them, but it looks like you could use
the SC Reachability API to get notified of when a host becomes
reachable or unreachable. If wifi is your only internet connection
then any remote host will become unreachable when you disconnect, and
reachable when you connect.

Mike
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >How to get AirPort Connection Status (From: "Rashmi Vyshnavi" <email@hidden>)

  • Prev by Date: Re: Core Data in a framework ?
  • Next by Date: Poking an NSRunLoop with an NSMachPort
  • Previous by thread: Re: How to get AirPort Connection Status
  • Next by thread: Re: How to get AirPort Connection Status
  • Index(es):
    • Date
    • Thread