Please enable JavaScript.
Coggle requires JavaScript to display documents.
連接 (comet, Tcp KeepAlive, Websocket, Http KeepAlive, SSE(Server-Sent…
連接
comet
長輪詢
iframe
WebSocket 出現後被取代
Tcp KeepAlive
Polling
Ack包
Websocket
send header => Connection: Upgrade
receive header => Upgrade: websocket
複用 HTTP 握手通道
Http KeepAlive
keepalive_timeout
SSE(Server-Sent Events)
單向 S2C
三次握手
四次揮手
https://hit-alibaba.github.io/interview/basic/network/TCP.html
Http 長連接
Tcp長連接