I need to check connectivity with IP address only. I\'m trying to do it with Apple Reachability class, using reachabilityWithAddress option. And my problem is I can put any
Instead of using the Reachability classes, go old-school and open a TCP connection to it. If the response to connect() is EHOSTUNREACH, then you can't. If the response is ECONNREFUSED, or a successful connection, then you can.