HTML5是否支持点对点(而不仅仅是WebSockets) [英] Does HTML5 Support Peer-to-Peer (and not just WebSockets)

查看:294
本文介绍了HTML5是否支持点对点(而不仅仅是WebSockets)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用的语言是兼容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?

推荐答案

查看 HTML5是否允许Web应用程序进行点对点HTTP连接?但是,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)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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