Possible Duplicate:
SCNetworkReachabilityGetFlags returns 0 even when wireless available
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.
This answer suggests that switching airplane mode on and off again releases a cache SCNetworkReachabilityGetFlags might be using: SCNetworkReachabilityGetFlags returns 0 even when wireless available
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?