Developer

API Reference

AEEDNSResponse

Brew Release
Brew MP 1.0.2
See Also
None
Description
Contains DNS response data. These items correspond directly to fields as described in the DNS protocol specification (RFC1035).
Members
  • uFlags      : the flag field in the DNS message header
  • uReserved   : the reserved field in the DNS message header
  • nQuestions  : the number of "Question" records in the message
  • nAnswers    : the number of "Answer" records in the message
  • nServers    : the number of "Authority" or server records in the message
  • nAdditional : the number of "Additional" records in the message
  • pQuestions  : pointer to an array of AEEDNSItem structures describing
                     Question records.  The size of this array is given by nQuestions.
                     Note that Question records make use of only a few fields of the
                     AEEDNSItem structure.  The remaining fields are left zero or NULL.
       pAnswers, pServers,
Definition
   typedef struct AEEDNSResponse {
      uint16       uFlags;
      uint16       uReserved;
      int16        nQuestions;
      int16        nAnswers;
      int16        nServers;
      int16        nAdditional;
      AEEDNSItem * pQuestions;
      AEEDNSItem * pAnswers;
      AEEDNSItem * pServers;
      AEEDNSItem * pAdditional
   } AEEDNSResponse;
Comment
None
  • Follow