Server Ping with iPhone

后端 未结 1 1053
无人共我
无人共我 2021-01-13 22:17

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

相关标签:
1条回答
  • 2021-01-13 22:44

    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

    0 讨论(0)
提交回复
热议问题