Topic Path: Symbol Reference > Classes > TDNSHeader Class > TDNSHeader Properties > BitCode Property
ContentsIndexHome
PreviousUpNext
TDNSHeader.BitCode Property

Represents temporary storage for bit fields used in the DNS header.

property BitCode: Word;

BitCode is a read-only Word property used to represent the individual bit fields that appear in the DNS header. BitCode acts as a temporary storage slot for bit field values. 

BitCode is used when updating values for bit fields while creating the DNS query, and when reading the values from bit fields in the DNS response. BitCode is ANDed with the appropriate value to access a particular bit field in the DNS header. 

Use ClearByteCode to reset the value of all bit fields in BitCode.

Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.