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 13:54:22 -0800
On Nov 11, 2014, at 9:59 AM, Quinn The Eskimo! < email@hidden> wrote:
o reachability saying "no" doesn't guarantee that the connection will fail
Can you elaborate on that? It's the part I don't understand. As I said above, I thought that a "no" meant the IP routing tables were telling me "you can't get there from here." In what cases would there be a false negative?
(…other than race conditions where the host becomes reachable right after I make the call. I'm using the observation mode so I get notified when reachability changes.)
One of the reasons I don't want to try first is that the attempt might take a long time to fail due to DNS timeouts or whatever. It's a better user experience if I immediately tell the API client (and thus the user) "you're offline", rather than attempting to connect for 30 seconds before giving up.
—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