游戏包在互联网上 [英] gamekit over the internet

查看:108
本文介绍了游戏包在互联网上的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在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

如果我需要连接

推荐答案

但在这种情况下,应用程序必须响应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).

这篇关于游戏包在互联网上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆