I\'m writing an app that needs to know which of two servers responds fastest. One server is in my time zone, the other is far away.
How do I get the round t
You could use this implementation of ping - source
Or, Apple has an example App you can look at - SimplePing
Another option is to use an existing lib: http://www.kernelthread.com/projects/hanoi/html/icmp.html