protected void SetupKcp() { unreliable = new Unreliable(SendWithChecksum) { Reserved = RESERVED }; kcp = new Kcp(0, SendWithChecksum) { Reserved = RESERVED }; kcp.SetNoDelay(delayMode); open = true; Tick().Forget(); }
protected void SetupKcp() { unreliable = new Unreliable(SendWithChecksum) { Reserved = RESERVED }; kcp = new Kcp(0, SendWithChecksum) { Reserved = RESERVED }; kcp.SetNoDelay(delayMode); kcp.SetWindowSize((uint)sendWindowSize, (uint)receiveWindowSize); open = true; Tick().Forget(); }