Re: How quick does the reachability API respond?
Re: How quick does the reachability API respond?
- Subject: Re: How quick does the reachability API respond?
- From: Jens Alfke <email@hidden>
- Date: Mon, 22 Jul 2013 20:58:26 -0700
On Jul 22, 2013, at 5:29 PM, Rick Mann < email@hidden> wrote: Is it polling infrequently? Is there a way to give it a kick when my app is activated to have that happen sooner?
I don’t think it polls. Reachability just watches the IP routing tables to see whether there is a route from localhost to the desired address. Generally the answer is “yes” if you’re connected to any sort of router/base-station/switch, and “no” only if you’re completely disconnected. Polling would imply that it actually tries to send packets to the target address, which it definitely doesn’t do.
—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