C# 클래스 BaxterWorks.DNS.Parsers.Query

파일 보기 프로젝트 열기: voltagex/junkcode

공개 메소드들

메소드 설명
ParseQueryHeader ( byte buffer ) : QueryHeader
ParseQuestionSection ( byte buffer ) : QuestionSection

QNAME a domain name represented as a sequence of labels, where each label consists of a length octet followed by that number of octets.The domain name terminates with the zero length octet for the null label of the root.Note that this field may be an odd number of octets; no padding is used. QTYPE a two octet code which specifies the type of the query. The values for this field include all codes valid for a TYPE field, together with some more general codes which can match more than one type of RR. QCLASS a two octet code that specifies the class of the query. For example, the QCLASS field is IN for the Internet.

메소드 상세

ParseQueryHeader() 공개 정적인 메소드

public static ParseQueryHeader ( byte buffer ) : QueryHeader
buffer byte
리턴 BaxterWorks.DNS.Types.QueryHeader

ParseQuestionSection() 공개 정적인 메소드

QNAME a domain name represented as a sequence of labels, where each label consists of a length octet followed by that number of octets.The domain name terminates with the zero length octet for the null label of the root.Note that this field may be an odd number of octets; no padding is used. QTYPE a two octet code which specifies the type of the query. The values for this field include all codes valid for a TYPE field, together with some more general codes which can match more than one type of RR. QCLASS a two octet code that specifies the class of the query. For example, the QCLASS field is IN for the Internet.
public static ParseQuestionSection ( byte buffer ) : QuestionSection
buffer byte
리턴 BaxterWorks.DNS.Types.QuestionSection