mirror of
https://github.com/skywind3000/kcp.git
synced 2025-04-02 09:40:16 +08:00
new testing
This commit is contained in:
parent
3806c95073
commit
96c0c69c5e
4
test.cpp
4
test.cpp
@ -160,8 +160,8 @@ void test(int mode)
|
|||||||
|
|
||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
//test(0); // 默认模式,类似 TCP:正常模式,无快速重传,常规流控
|
test(0); // 默认模式,类似 TCP:正常模式,无快速重传,常规流控
|
||||||
//test(1); // 普通模式,关闭流控等
|
test(1); // 普通模式,关闭流控等
|
||||||
test(2); // 快速模式,所有开关都打开,且关闭流控
|
test(2); // 快速模式,所有开关都打开,且关闭流控
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user