问题描述
我正在使用的语言是兼容HTML5的浏览器上的Javascript。
The language I am working in is Javascript on HTML5-compatible browsers.
我的理解是WebSockets需要套接字服务器来回传输推送通知和消息在客户端之间。
My understanding is that WebSockets require a socket server to transport push notifications and messages back and forth between clients.
HTML5是否存在实际的点对点功能,不需要套接字服务器?有没有人在Javascript中看到过示例此功能的示例客户端代码?
Is there an actual peer-to-peer capability with HTML5 that does not require a socket server? Has anyone seen example client-side code in Javascript that exemplifies this capability?
推荐答案
查看但是,WebSockets规范中的内容似乎已经消失了,所以我怀疑现在的答案是不。
See the answers for Will HTML5 allow web apps to make peer-to-peer HTTP connections? However, the content in the WebSockets specification seems to have gone, so I suspect the answer now is "no".
这篇关于HTML5是否支持点对点(而不仅仅是WebSockets)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!