[英]iPhone to iPhone networking
I am interested in developing an iPhone application that creates ad-hoc networks between iPhones. 我有兴趣开发一个iPhone应用程序,在iPhone之间创建ad-hoc网络。
Is such an application feasible? 这样的申请是否可行?
I am a novice with iPhone development, so I apologise in advance for my naiivety. 我是iPhone开发的新手,所以我提前为我的naiivety道歉。
Thanks 谢谢
In iPhone OS 3.0, Bluetooth is used to create an ad-hoc network and has been developed for this purpose. 在iPhone OS 3.0中,蓝牙用于创建ad-hoc网络,并且已经为此目的而开发。
Here is some documentation. 这是一些文档。
http://developer.apple.com/iphone/library/documentation/NetworkingInternet/Conceptual/GameKit_Guide/GameKitConcepts/GameKitConcepts.html http://developer.apple.com/iphone/library/documentation/NetworkingInternet/Conceptual/GameKit_Guide/GameKitConcepts/GameKitConcepts.html
On a side note, there are some games that use the current access point and scan the subnet that they are on and find other listening clients. 在旁注中,有些游戏使用当前的接入点并扫描它们所在的子网并找到其他侦听客户端。 Then they create a game that way.
然后他们以这种方式创造一个游戏。
I know this is an old question, but since I just researched a similar topic, I wanted to share the results in case it's helpful to someone who searches for this in the future. 我知道这是一个老问题,但由于我刚刚研究了类似的主题,我想分享结果,以防它对将来搜索此内容的人有所帮助。
Newer iOS versions include Game Kit , a set of APIs allowing developers to create peer-to-peer networking systems over WiFi or Bluetooth. 较新的iOS版本包括Game Kit ,这是一组API,允许开发人员通过WiFi 或蓝牙创建点对点网络系统。 This appears to be exactly what the poster is requesting.
这似乎正是海报所要求的。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.