Ping with iPhone SDK

前端 未结 1 781
有刺的猬
有刺的猬 2020-12-19 08:58

I need to do a network ping in an iPhone app, but NSHost is an unsupported framework for iPhone OS. Does anybody know of other tools or techniques to achive sim

相关标签:
1条回答
  • 2020-12-19 09:45

    Search for Reachability. Have a loot at e.g. this SO question. With this, you can test if a host can be reached.

    HTH

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