TCP buffer

Tcp有以下特點

Reliable

connection oriented

byte-stream service

要處理

flow control:

要有一個機制控制傳送不要讓buffer溢出

congestion control:

involves preventing too much data from being injected into the network,

thereby causing router/switches or link to become overloaded

TCP sliding windows algorithm (滑動窗口)

數據收發的時候,兩端都有一個buffer,當buffer滿地時候再發送單位爲segment




發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章