I need to write a simple ping method in Cocoa/Objective-C. It also needs to work on the iPhone.
I found an example that uses icmp, will thi
Please take note that there is an difference between the simulator and the actual iPhone. The simulator is not a true simulator like the one supplied by Android, it uses Mac OSX classes for most of the functions.
This is particularly hell if there is a difference between the Mac OSX and iPhonew(for example the keychain).