I'm using the Reachability
class from apples demo projects to ping some servers pages. But no matter what I write in URL I always get ReachableViaWiFi
.
Reachability* reachability = [Reachability reachabilityWithHostName:URL];
NetworkStatus netStatus = [reachability currentReachabilityStatus];
I'm connected to a Wifi, but I just want to check if some servers are available or not. (With the answer "NO" if I'm disconnected from the net).
Any suggestions please, even with others classes with the same goal.
Thanks