提交 329ec795 编写于 作者: T tanghai

修复KCP bug

上级 c1551ad2
......@@ -52,6 +52,7 @@ namespace ETModel
this.RemoteConn = remoteConn;
this.remoteEndPoint = remoteEndPoint;
this.socket = socket;
this.parser = new PacketParser(this.recvBuffer);
kcp = new Kcp(this.RemoteConn, this.Output);
kcp.SetMtu(512);
kcp.NoDelay(1, 10, 2, 1); //fast
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册