EVB-PIC24 WIZnet, EVB-PIC24 Datasheet - Page 94

no-image

EVB-PIC24

Manufacturer Part Number
EVB-PIC24
Description
Development Boards & Kits - PIC / DSPIC W3150A+EVAL BOARD BASED ON PIC24
Manufacturer
WIZnet
Datasheet

Specifications of EVB-PIC24

Rohs
yes
Product
Development Kits
Interface Type
RS-232
Data Bus Width
16 bit
Dimensions
50 mm x 40 mm
dns_parse_response() of <Fig 3.42> analyzes Response Message received by DNS Name Server.
dns_parse_response() checks if it‟s same as Request Message ID that was sent to DNS Name Server and it
also checks if the message received is a Response Message by checking QR Field of Header Section. If the
received message is Response from DNS Name Server the success of change is decided by checking the
RCODE Field value of Header Section.
<Table 3-42> is definition of constants that are used in RCODE Field.
If the RCODE is RC_NO_ERROR then variable length sections such as Question, Answer, Authority, and
Additional Section are analyzed. Since the necessary information is set in Answer Section, in this case, it‟s
analyzed and processed up to Answer Section, and other section analysis and process are not performed. If
you need information on Authority and Addition Section you can get them easily on your own.
Question Section is processed as many as QDCOUNT of Header Section by calling dns_parse_question().
Answer Section is processed as many as ANCOUNT of Header Section by calling dns_parse_question().
#define RC_NO_ERROR
#define RC_FORMAT_ERROR
#define RC_SERVER_FAIL
#define RC_NAME_ERROR
#define RC_NOT_IMPL 4
#define RC_REFUSED
<Table 3-41 : Constant Definition at Header Section’s RCODE Field>
Definition
© Copyright 2006 WIZnet Co., Inc. All rights reserved.
5
0
1
2
3
No error condition
Format error - The name server was unable to interpret
the query
Server failure - The name server was unable to process
this query due to a problem with the name server
Name Error - Meaningful only for responses from an
authoritative name server, this code signifies that the
domain name referenced in the query does not exist.
Not Implemented - The name server does not support
the requested kind of query.
Refused - The name server refuses to perform the
specified operation for policy reasons.
Description
84

Related parts for EVB-PIC24