| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
I think I've a strange behavior of SCNetworkCheckReachabilityByAddress. But I'm not really sure if it's only strange or just intended to be that way.
Here's what happens.
If in my location, all the Network Ports are disabled, SCNetworkCheckReachabilityByAddress returns 0 in its flags. This is > ok.
Now if all the Network Ports are enabled :
If Ethernet is enabled and the link is up, it also returns 0 in its flags. This is not ok. The address can be reached.
If PPP is enabled and disconnected, the flags are transient, reachable and connectionRequired.
Why do I have reachable here ?
If PPP is connected, flags are 0. I should have reachable here.
Is it a bug ?
| References: | |
| >SCNetworkCheckReachabilityByAddress oddity ? (From: Jérome Foucher <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.