Method from this question "How to write a Ping method in Cocoa/Objective-C" wasn't helpful, because it only assesses if there is a pathway out of the machine by which the target domain is potentially reachable. So basically almost each host which you testing will be showing as reachable, even if it's not.
Check out the Apple same code for SimplePing
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With