mirror of
https://github.com/skywind3000/kcp.git
synced 2025-03-23 16:00:08 +08:00
Updated EN_KCP Feature (markdown)
parent
00ce208c8b
commit
0e41ddf870
@ -20,7 +20,7 @@ TCP will try to reply ACK as late as possible(even TCP_NODELAY), which will caus
|
||||
|
||||
#### UNA vs ACK+UNA:
|
||||
|
||||
There are two kinds of ARQ(Automatic Repeat reQuest) model responses: UNA (All segments before this number received, such as TCP) and ACK (The segment with this number received). All segments will be retransmit for UNA, for example, sender send 1,2,3,4,5 while receiver got 1,2,4,5, receiver will reply UNA 3 two times when got 4,5, and sender will retransmit 3,4,5. It cost too much when only use ACK, for example, sender send 1,2,3,4,5 while receiver got 1,2,4,5, receiver will reply ACK 1,2,4,5 for each received segment. KCP use better model of UNA and ACK, each packet use UNA but there is ACK packet when segment loss occurs.
|
||||
There are two kinds of ARQ(Automatic Repeat reQuest) model responses: UNA (All segments before this number received, such as TCP) and ACK (The segment with this number received). For example, sender send 1,2,3,4,5 while receiver got 1,2,4,5. All segments will be retransmit for UNA, that is, receiver will reply UNA 3 two times when got 4,5, and sender will retransmit 3,4,5. It cost too much when only use ACK, receiver will reply ACK 1,2,4,5 for each received segment. KCP use better model of UNA and ACK, each packet use UNA but there is ACK packet when segment loss occurs.
|
||||
|
||||
#### Flow Control
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user