• 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: SCNetworkCheckReachabilityByAddress oddity ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SCNetworkCheckReachabilityByAddress oddity ?


  • Subject: Re: SCNetworkCheckReachabilityByAddress oddity ?
  • From: Allan Nathanson <email@hidden>
  • Date: Tue, 8 Oct 2002 07:33:18 -0700

On Tuesday, October 8, 2002, at 07:17 AM, Jirome Foucher wrote:

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.

Can you send/post the output from the "ifconfig -a", "netstat -rn", and "scutil -d -r address-being-queried" commands.

If PPP is enabled and disconnected, the flags are transient, reachable and connectionRequired.
Why do I have reachable here ?

Because you have a PPP ("transient") connection which, if established ("connection required"), could provide access ("reachable") to the target host/address.

If PPP is connected, flags are 0. I should have reachable here.

Again, the output from the "ifconfig", "netstat", and "scutil" commands would help explain your results.

Is it a bug ?

Dunno yet.

- Allan
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.

References: 
 >SCNetworkCheckReachabilityByAddress oddity ? (From: Jérome Foucher <email@hidden>)

  • Prev by Date: SCNetworkCheckReachabilityByAddress oddity ?
  • Next by Date: Re: Security Info
  • Previous by thread: SCNetworkCheckReachabilityByAddress oddity ?
  • Next by thread: VPN IP packet size problem
  • Index(es):
    • Date
    • Thread