Internet Direct (Indy)
Home
PreviousUpNext
TDNSHeader.BitCode Property

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

Pascal
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.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.