ios ping application, return ping latency