Generates the raw byte values for the DNS header section of a DNS message.
function GenerateBinaryHeader: TIdBytes;
The return value for the method is the 12 byte values representing the fields as indicated in the following:
GenerateBinaryHeader converts numeric values in the header from their host-specific byte order representation to their network byte order representation using the TIdStack.HostToNetwork method.
Use ParseQuery to populate the poroperty values in the DNS using the raw byte values returned in a DNS query response.
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.