title: SCNetworkReachabilityGetFlags gives wrong results
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/4889472/scnetworkreachabilitygetflags-returns-0-even-when-wireless-available">SCNetworkReachabilityGetFlags returns 0 even when wireless available</a>  </p>
  </blockquote>
  
  
  
  <p>We are using SCNetworkReachabilityGetFlags to determine if internet connectivity is available. On certain phones it does occasionally provide wrong information, saying that some host or ip address can not be reached. When ignoring the flags and launching a request anyway, everything works fine.</p>
  
  <p>This answer suggests that switching airplane mode on and off again releases a cache SCNetworkReachabilityGetFlags might be using:
  <a href="https://stackoverflow.com/questions/4889472/scnetworkreachabilitygetflags-returns-0-even-when-wireless-available">SCNetworkReachabilityGetFlags returns 0 even when wireless available</a></p>
  
  <p>Obviously this is not really an option from a usability perspective. Has any one encountered the same problem? Are there alternatives for checking the reachability?</p>