internal WKSRecord(SmartPointer pointer) { _address = pointer.ReadIPAddress(); _protocol = pointer.ReadByte(); throw new NotImplementedException("Haven't finished this yet"); }
internal ANameRecord(SmartPointer pointer) { /*byte b1 = pointer.ReadByte(); * byte b2 = pointer.ReadByte(); * byte b3 = pointer.ReadByte(); * byte b4 = pointer.ReadByte(); * * _ipAddress = IPAddress.Parse(string.Format("{0}.{1}.{2}.{3}", b1, b2, b3, b4));*/ _ipAddress = pointer.ReadIPAddress(); }
internal ANameRecord(SmartPointer pointer) { /*byte b1 = pointer.ReadByte(); byte b2 = pointer.ReadByte(); byte b3 = pointer.ReadByte(); byte b4 = pointer.ReadByte(); _ipAddress = IPAddress.Parse(string.Format("{0}.{1}.{2}.{3}", b1, b2, b3, b4));*/ _ipAddress = pointer.ReadIPAddress(); }