Exemplo n.º 1
0
        public virtual void Parse(byte[] source, ref int index)
        {
            IpHeader.Parse(source, ref index);

            IcmpPacket = CreatePacket(source, index);
            try
            {
                IcmpPacket.Parse(source, ref index);
            }
            catch (Exception)
            {
                IcmpPacket = null;
                throw;
            }
        }