蓝牙、Wifi 及 Bonjour 网络
如果我在(基于 Bonjour 的 NetWork)Iphone 应用程序中发布 NSNetService,则该网络工作将在我的应用程序中使用
If i am publishing a NSNetService in (Bonjour based NetWork) Iphone Application,which net Work will use in my application
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您使用高级 NSNetService 方法,(在 OS X 和 iOS 上)
NSNetService
将通过任何支持多播数据包传输的网络接口发布。由于蓝牙支持此功能,因此您应该能够通过 PAN 广播 mDNS 数据,尽管服务广告和发现可能比普通 IP 网络慢。仔细阅读本文更多信息。If you use the high-level NSNetService methods, (on both OS X and iOS) the
NSNetService
will be published through any network interface that supports multicast packet transport. Since bluetooth supports this, you should be able to broadcast mDNS data over a PAN, although service advertising and discovery may be slower than on a normal IP network. Have a read through this for more information.