public KCPObject(int user) { this.user = user; kcp = KCP.KcpCreate(0xAABBCCDD, new IntPtr(user)); kcpOutput = KCPOutput; KCP.KcpSetoutput(this.kcp, kcpOutput); // fast mode KCP.KcpNodelay(kcp, 1, 10, 2, 1); KCP.KcpWndsize(kcp, 128, 128); }