Design Element
Comment on "Checking Network Status with CFNetDiagnostics"
by Marc Charbonneau — Dec 18
I've looked into the topic a little, and as far as I can tell there is no "perfect" way of checking network availability. Any way you do it, there's always going to be possible edge cases (like the wireless issue mentioned in this entry).

My thoughts are that it's best to keep things simple instead of trying to be perfect. This seems like a good way to go about doing it, but however you accomplish it, spend your time putting your network code in a separate thread, providing user feedback, and failing gracefully, rather than trying to come up with a perfect detection mechanism.
Back to "Checking Network Status with CFNetDiagnostics"
Design Element

Copyright © Scott Stevenson 2004-2015