• 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: System event notification of network status
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: System event notification of network status


  • Subject: Re: System event notification of network status
  • From: george tempel <email@hidden>
  • Date: Fri, 13 May 2005 14:34:42 -0400


Wil Turner wrote:

I'm writing an application which takes advantage of network resources
when they are available, and has other functionality when the system
is not connected to a network.

Is there some kind of system notification I can register for that
will indicate when the computer is "online" or "offline"? I'd rather
not sit and poll at intervals...


There _is_ a network change notification (com.apple.system.config.network_change) via the NSDistributedNotificationCenter, and I see it in the system log when the NIC bounces, but I don't see it appearing in any NSWorkspace or NSDistributedNotificationCenter listeners.


Can anyone else add to this?


george (ty) tempel _______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Prev by Date: Re: Where/how to store lots of user application data
  • Next by Date: Re: Where/how to store lots of user application data
  • Previous by thread: Re: System event notification of network status
  • Next by thread: Where/how to store lots of user application data
  • Index(es):
    • Date
    • Thread