public TcpClientConnection(TcpServer host, TcpClient client) : base(host, client) { Stream = client.GetStream(); ErrorCount = 0; ReadOffset = 0; ReadBuffer = new byte[1024]; WriteOffset = 0; WriteBuffer = new byte[0]; AsyncRead = null; }
/// <summary> /// ctor for TcpClientEventArgs /// </summary> protected TcpClientEventArgs(TcpServer host, TcpClient client) { Host = host; Client = client; }