You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GCNetworkReachability *reachability = [GCNetworkReachability reachabilityWithInternetAddressString:@"172.16.1.1"];
bool isReachable=[reachability isReachable];
if(isReachable)
NSLog(@"YES");
else
NSLog(@"NO");
It always returns YES, even if i am unable to ping to that ip
The text was updated successfully, but these errors were encountered:
I am checking reachibilty as below
GCNetworkReachability *reachability = [GCNetworkReachability reachabilityWithInternetAddressString:@"172.16.1.1"];
bool isReachable=[reachability isReachable];
if(isReachable)
NSLog(@"YES");
else
NSLog(@"NO");
It always returns YES, even if i am unable to ping to that ip
The text was updated successfully, but these errors were encountered: