网络 - 使用 SimplePingHelper 在 iPhone / iPad 上 ping 指定服务器
变更记录
序号 | 录入时间 | 录入人 | 备注 |
---|---|---|---|
1 | 2016-06-12 | Alfred Jiang | - |
方案名称
网络 - 使用 SimplePingHelper 在 iPhone / iPad 上 ping 指定服务器
关键字
网络 \ ping \ 检测服务器连接
需求场景
- 测试 ping 连接
参考链接
- Chris Hulbert - How to ping a server in Objective-C / iPhone(推荐)
- GitHub - chrishulbert/SimplePingHelper
- Zubin’s Blog - 苹果示例源码阅读:SimplePing
详细内容
1. 将 SimplePingHelper 相关代码引入工程
2. 使用方法如下
1 | - (void)tapPing { |
效果图
(无)
备注
(无)
本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 宁静至远,博雅多通!