Option IOptionComplexFactory.CreateInstance(byte[] buffer, ref int offset, byte valueLength)
        {
            uint connectionCount;

            if (!TcpOptionConnectionCountBase.TryRead(out connectionCount, buffer, ref offset, valueLength))
            {
                return((Option)null);
            }
            return((Option) new TcpOptionConnectionCountEcho(connectionCount));
        }
 private bool EqualsData(TcpOptionConnectionCountBase other)
 {
     return other != null &&
            OptionType == other.OptionType && ConnectionCount == other.ConnectionCount;
 }
 private bool EqualsData(TcpOptionConnectionCountBase other)
 {
     return(other != null &&
            OptionType == other.OptionType && ConnectionCount == other.ConnectionCount);
 }