Windows Metro 应用程序中没有 P2P?
在 BUILD 的“.NET 开发人员对 Windows 8 应用程序开发的看法”会议中,讲师提到 Metro 配置文件中仅公开了客户端 WCF 功能,我们无法创建服务器。 ( http://channel9.msdn.com/Events/BUILD/ BUILD2011/TOOL-930C?format=progressive @ ~34:00)
这是否意味着 Metro 应用程序无法进行直接点对点通信,两个用户之间通过互联网交换的任何数据都必须通过非 Metro 风格的应用程序实际传输?
In the "A .NET developer's view of Windows 8 app development" session at BUILD, the lecturer mentions that only the client-side WCF features are exposed in the Metro profile, we cannot create a server.
( http://channel9.msdn.com/Events/BUILD/BUILD2011/TOOL-930C?format=progressive @ ~34:00)
Does this mean that direct peer to peer communication is not possible for Metro applications, and any data exchanged between 2 users over the internet will always have to actually travel through a non-metro-style application?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
对套接字的访问由“Internet(客户端和服务器)”功能控制,如果在您的应用程序中启用了此功能,您应该能够通过 Internet 发送和接收数据。
Access to sockets is controlled by the "Internet (Client & Server)" capability, if this capability is enabled in your application, you should be able to send and receive data over the internet.
由于 Metro 风格的应用程序无法在后台运行,并且被设计为分散使用,因此启用 P2P 没有什么意义。
Since the Metro style apps can't run on background, and are designed to be used fregmentedly, making it P2P enabled makes little sense.