• 首页 首页 icon
  • 工具库 工具库 icon
    • IP查询 IP查询 icon
  • 内容库 内容库 icon
    • 快讯库 快讯库 icon
    • 精品库 精品库 icon
    • 问答库 问答库 icon
  • 更多 更多 icon
    • 服务条款 服务条款 icon

游戏包在互联网上

用户头像
it1352
帮助1

问题说明

在wifi文档的gamekit谈论当地的wifi,它建立在bonjour的顶部。
这意味着它不能在互联网上工作,定位用户/播放器在不同的子网,不同的ISP ...等

the gamekit over wifi documentation talks about local wifi and that it's built on top of bonjour. Does that mean it does not work over the Internet, locating user/players in a different subnet, different ISP ... etc

如果我需要连接

正确答案

#1

但在这种情况下,应用程序必须响应peerPickerController:didSelectConnectionType:并处理所有私有握手协议发现对等体并建立通信。还需要您的服务器上的网络服务(除非用户输入其IP地址)。

BUT in this case your application must respond to peerPickerController:didSelectConnectionType: and handle all your private handshake protocol to discover peers and establish communication. A web service on your server is also required (unless users type in their IP address).

祝你好运!

参考文献:

Apple iOS参考库,游戏包编程指南

Apple IOS Reference Library, Game Kit Programming Guide.

Sanford大学在线课程, iPhone开发,讲座17:Bonjour,NSStream,GameKit (请参阅48分28秒)。

Sanford University Online Course, iPhone Development, Lecture 17: Bonjour, NSStream, GameKit (see at 48 min 28 sec).

这篇好文章是转载于:学新通技术网

  • 版权申明: 本站部分内容来自互联网,仅供学习及演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,请提供相关证据及您的身份证明,我们将在收到邮件后48小时内删除。
  • 本站站名: 学新通技术网
  • 本文地址: /reply/detail/tanhcffkkf
系列文章
更多 icon
同类精品
更多 icon
继续加载