No P2P in Windows Metro applications?

冷暖自知 提交于 2020-01-01 05:17:06

问题


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?


回答1:


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.




回答2:


Since the Metro style apps can't run on background, and are designed to be used fregmentedly, making it P2P enabled makes little sense.



来源:https://stackoverflow.com/questions/7507155/no-p2p-in-windows-metro-applications

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!