14 private byte protocol;
15 private byte[] bitMap;
39 this.protocol = (byte)Data.ReadByte();
40 int c = (int)(EndPos - Data.Position);
41 this.bitMap =
new byte[c];
42 Data.ReadAll(this.bitMap, 0, c);
53 [DefaultValue((
byte)0)]
57 set => this.protocol = value;
67 set => this.bitMap = value;
73 return base.ToString() +
"\t" + this.protocol.ToString() +
74 "\t" + this.bitMap.ToString();
Abstract base class for Resource Address Records.
TYPE Type
Resource Record Type
CLASS Class
Resource Record Class
Well Known Services, as defined in RFC 1010
override int AddressSize
IP Address size.
WKS(string Name, TYPE Type, CLASS Class, uint Ttl, Stream Data, long EndPos)
Well Known Services
byte[] BitMap
Service Bit-map
byte Protocol
Protocol Number
override string ToString()
CLASS
TYPE fields are used in resource records.
TYPE
TYPE fields are used in resource records.