Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CHANGE] Update SCNetworkCheckReachabilityByName (deprecated in 10.6)…
… to SCNetworkReachabilityCreateWithName+SCNetworkReachabilityGetFlags. [ticket 11](http://rentzsch.lighthouseapp.com/projects/24800/tickets/11) (Justin Williams)
- Loading branch information
Showing
1 changed file
with
11 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
b8f0b35
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rentzsch, I get that SCNetworkCheckReachabilityByName() is deprecated, but why is the replacement code in an "#ifdef MAC_OS_X_VERSION_10_6"? All the APIs used there seem to be available back to 10.3. Thanks. Sean.
b8f0b35
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SCNetworkReachabilityCreateWithName+SCNetworkReachabilityGetFlags are available since 10.3?
b8f0b35
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
so says SCNetworkReachability.h