带有UDP的JavaScript WebSockets? [英] JavaScript WebSockets with UDP?

查看:592
本文介绍了带有UDP的JavaScript WebSockets?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在编写一个JavaScript应用程序,它必须从其他用户那里接收大量数据。如果某些数据丢失并不重要。有没有办法使用带有UDP而不是TCP的JavaScript WebSockets?

I'm writing a JavaScript Application that has to receive a huge amount of data from other users. It is not important if some of this data gets lost. Is there some way of using JavaScript WebSockets with UDP instead of TCP?

推荐答案

不,在JavaScript中无法进行UDP通信。对不起。

No, it's not possible to have UDP communication within JavaScript. Sorry.

这篇关于带有UDP的JavaScript WebSockets?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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