Re: Bonjour Via Peer-Peer WIFI - Reachability Issue
Re: Bonjour Via Peer-Peer WIFI - Reachability Issue
- Subject: Re: Bonjour Via Peer-Peer WIFI - Reachability Issue
- From: Jens Alfke <email@hidden>
- Date: Tue, 11 Nov 2014 09:15:27 -0800
On Nov 11, 2014, at 8:43 AM, Josh Graessley < email@hidden> wrote:
Reachability is not meant to be used prior to connection (not a pre-flight check). If you don’t check reachability first and just try to connect, does it work?
[I'm the developer of the framework the OP is using; the framework API doesn't provide a way to disable reachability checks.]
Could you elaborate? I've been using the SystemConfiguration reachability API in various incarnations for a long time (since iChat I think) and I've tended to use it as a preflight, i.e. wait for the green light from reachability before trying to open a connection.
After all, my understanding is that if an address is said to be unreachable, that means that there is no active network interface that knows how to route packets toward that address, so it's not worth attempting to connect because opening a socket would just fail immediately. Right?
And although I haven't been able to reproduce this failure myself, the symptom appears to be that a ".local" hostname on the local subnet (obtained from Bonjour) is reported as unreachable, which seems unambiguously wrong.
—Jens |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden