一旦连接建立,WebSocket数据帧就可以以全双工的模式在客户端和服务器之间来回传输。
Once established, WebSocket data frames can be sent back and forth between the client and the server in full-duplex mode.
图1展示了一个简化的网络拓扑,客户端使用浏览器来访问后端基于TCP的服务,这里使用了全双工的HTML5WebSocket连接。
Figure 1 shows a simplified network topology in which clients use a browser to access back-end TCP-based services using a full-duplex HTML5 WebSocket connection.
这其中最重要的一个是“SuperSpeed”总线 --两对额外的连接线,它们允许相比以前的更快的全双工传输。
The mostimportant of these is the "SuperSpeed" bus--two additional pairs ofwire which allow for significantly faster transfers than before, withfull duplex transfers.
然后,服务器结合的连接,以形成一个虚拟全双工连接。
The server then binds the connections to form a virtual full-duplex connection.
然后,服务器结合的连接,以形成一个虚拟全双工连接。
The server then binds the connections to form a virtual full-duplex connection.
应用推荐