public void Init(Socket socket) { this.fDataSocket = socket; if (!this.EnableNagle) { this.fDataSocket.SetSocketOption(SocketOptionLevel.Tcp, SocketOptionName.NoDelay, 1); } this.SetDefaultValues(); }