4.4 WebSockets 实现 WebSockets 允许双向,全双工通信信道,在 TCP socket 中。它被设计为允许一个 Web 浏览器和 Web 服务器之间通过数据流交互。
基于1个网页-相关网页
There are also lots of libraries for doing new experimental stuff like websockets and the community is very active.
还有很多库在尝试一些新的事情,比如websockets,社区也非常活跃。
Michael: The issues are that browsers have been shipping incrementally updated versions of the websockets protocol while the spec itself has been evolving.
Michael:问题在于浏览器不断升级携带的Websockets协议,同时规范本身也在不断演进。
We use Socket.IO, which abstracts over websockets and provides fallbacks to support websocket-style communication for browsers that don’t have websockets yet.
我们使用Socket.IO, 它对WebSocket进行了抽象, 还对尚没有WebSocket的浏览器提供了应变方案, 以支持WebSocket式的通信。
应用推荐