• 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
SCNetworkReachability and impact of Snow Leopard
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SCNetworkReachability and impact of Snow Leopard


  • Subject: SCNetworkReachability and impact of Snow Leopard
  • From: Stuart Malin <email@hidden>
  • Date: Sun, 30 Aug 2009 08:11:52 -0400

I am writing some code on 10.5 Leopard that uses SCNetworkReachability. The latest documentation (SysConfig.pdf dated 2009-07-30) shows the Network Reachability Flags (with names such as kSCNetworkReachabilityFlagsReachable) as being declared in SCNetworkReachability.h as of 10.6.

However, on 10.5, the flags (appear to me) to be defined in SCNetwork.h, and have names like kSCNetworkFlagsReachable.

Question: What is the best way for me to write code now that will be compliant with 10.6 Snow Leopard? Should I conditionally compile and test against different flags? Or just keep using the SCNetwork.h enum values until and unless I need one of the newly-defined-in-10.6 values?
_______________________________________________


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


  • Prev by Date: nsuserdefaults woes
  • Next by Date: Re: nsuserdefaults woes
  • Previous by thread: Re: nsuserdefaults woes
  • Next by thread: Async NSURLConnection + Concurrent NSOperation = Not possible under Mac OS X 10.6?
  • Index(es):
    • Date
    • Thread