Peer-to-peer network over wifi in iOS

前端 未结 5 1392
迷失自我
迷失自我 2021-02-02 11:43

I\'ve been at this for a few days now, and can\'t seem to find a solution. I want to create a peer to peer network over wifi on iOS. All open source code seems to be supporting

5条回答
  •  被撕碎了的回忆
    2021-02-02 12:06

    You cannot create a wi-fi network programmatically in iOS using current APIs. GameKit offers some APIs to do so over bluetooth however.

    If you wish to implement a custom solution using CocoaHTTPServer, be aware that you will still not be able to create a direct wi-fi connection, you will simply be able to connect devices on the same (pre-existing) wi-fi network.

    Ad-hoc peer to peer Wi-Fi (such as 802.11s) in iOS is still a few years off. Maybe iOSX ;)

提交回复
热议问题