4.4 WebSockets 实现 WebSockets 允许双向,全双工通信信道,在 TCP socket 中。它被设计为允许一个 Web 浏览器和 Web 服务器之间通过数据流交互。
基于1个网页-相关网页
WebSockets API 第六章
The biggest browser limitation I've had to overcome is the lack of native cross-browser WebSockets support.
我要克服的最困难的浏览器限制就是缺乏本地的跨浏览器WebSockets支持。
There are also lots of libraries for doing new experimental stuff like websockets and the community is very active.
还有很多库在尝试一些新的事情,比如websockets,社区也非常活跃。
For example, while Chrome 5 and Safari 5 have native WebSockets support, the current versions of Firefox and Opera do not.
比如说,虽然Chrome 5和Safari 5都提供了本地的WebSockets支持,但当前版本的Firefox和Opera则不支持。
应用推荐