Updated EN_KCP Feature (markdown)

winlin 2017-02-21 15:22:42 +08:00
parent 2c8d6ba797
commit 32ac734fb3

@ -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). 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.
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 segment use UNA but there is ACK segment when segment loss occurs.
#### Flow Control: Window backoff or Not