public ReadRecord ( |
||
type | ||
Результат |
public RR(RecordReader rr) { TimeLived = 0; NAME = rr.ReadDomainName(); Type = (Type)rr.ReadUInt16(); Class = (Class)rr.ReadUInt16(); TTL = rr.ReadUInt32(); RDLENGTH = rr.ReadUInt16(); RECORD = rr.ReadRecord(Type); RECORD.RR = this; }
public RR(RecordReader rr) { TimeLived = 0; NAME = rr.ReadDomainName(); Type = (DNSType)rr.ReadShort(); Class = (Class)rr.ReadShort(); TTL = rr.ReadInt(); RDLENGTH = rr.ReadShort(); //Console.WriteLine("RDLENGTH : " + RDLENGTH.ToString()); RECORD = rr.ReadRecord(Type); //Console.WriteLine("Type : " + Type.ToString()); RECORD.RR = this; //Console.WriteLine("TTL=" + TTL + "."); if (TTL <= 0) { TTL = MIN_TTL; } }
public RR(RecordReader rr) { TimeLived = 0; NAME = rr.ReadDomainName(); Type = (Type)rr.ReadUInt16(); Class = (Class)rr.ReadUInt16(); TTL = rr.ReadUInt32(); RDLENGTH = rr.ReadUInt16(); RECORD = rr.ReadRecord(Type); RECORD.RR = this; }
public RR(RecordReader rr) { TimeLived = 0; NAME = rr.ReadDomainName(); Type = (DNSType)rr.ReadShort(); Class = (Class)rr.ReadShort(); TTL = rr.ReadInt(); RDLENGTH = rr.ReadShort(); //Console.WriteLine("RDLENGTH : " + RDLENGTH.ToString()); RECORD = rr.ReadRecord(Type); //Console.WriteLine("Type : " + Type.ToString()); RECORD.RR = this; //Console.WriteLine("TTL=" + TTL + "."); if (TTL <= 0) { TTL = MIN_TTL; } }