gpt4 book ai didi

iphone - 使用 iPhone SDK 进行 Ping

转载 作者:行者123 更新时间:2023-12-03 18:48:12 26 4
gpt4 key购买 nike

我需要在 iPhone 应用程序中执行网络 ping,但 NSHost 是 iPhone 操作系统不受支持的框架。有人知道其他工具或技术可以实现类似的功能吗?

最佳答案

搜索可达性。有战利品,例如this所以问题。这样,您就可以测试是否可以访问主机。

HTH

关于iphone - 使用 iPhone SDK 进行 Ping,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1130963/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com