iOS中通过wifi的点对点网络 [英] Peer-to-peer network over wifi in iOS

查看:161
本文介绍了iOS中通过wifi的点对点网络的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在这几天了,似乎无法找到解决方案。我想在iOS上通过wifi创建点对点网络。所有开源代码似乎都支持运行服务器或作为客户端,但是没有构建代码来支持两者兼作 - 一个对等体。是否有人知道我可以这样做的方法?

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 running a server or being a client, but there's no code built to support being both - a peer. Is anybody aware of a way I can do this?

推荐答案

iOS 7添加 Multipeer Connectivity Framework 正是出于此目的。

iOS 7 adds the Multipeer Connectivity Framework for exactly this purpose.

这篇关于iOS中通过wifi的点对点网络的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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