mirror of
https://github.com/skywind3000/kcp.git
synced 2025-03-26 12:05:09 +08:00
Updated EN_KCP Basic Usage (markdown)
parent
86e316e790
commit
22c01b6ead
@ -80,6 +80,7 @@ user can setup the bellow options for high efficient transport:
|
||||
4. Minimum RTO
|
||||
|
||||
Both TCP and KCP use minimum RTO, for example, when calculated RTO is 40ms but default minimum RTO is 100ms, then KCP never detect the dropped packet util after 100ms. The default value of minimum RTO is 100ms for normal mode, while 30ms for high efficient transport.
|
||||
User can setup minimum RTO by:
|
||||
```cpp
|
||||
kcp->rx_minrto = 10;
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user