EVB-PIC24 WIZnet, EVB-PIC24 Datasheet - Page 87

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 Resolver works based on gethostbyaddr() and gethostbyname(). gethostbyaddr() transforms Internet IP
Address to Internet Domain Name and gethostbyname() transforms Internet Domain Name to Internet IP
Address. gethostbyaddr() and gethostbyname() test the setup of DNS Name Server IP Address and search
Free Channel of iinChip™ needed for connection with DNS Name Server. If Free Channel of iinChip™ exists,
gethostbyaddr() and gethostbyname() call dns_query() with „BYNAME‟ or „BYIP‟ as the elements.
For examples of gethostbyaddr() and gethostbyname(), refer to
Actual connection with DNS Name Server is performed through dns_query(), and gethostbyaddr() and
gethostbyname() are reporting only the result of dns_query().
/* Header Section */
typedef struct _DHDR
{
}DHDR;
/* Question Section */
typedef struct _QUESTION
{
//
}DQST;
/* Resource Records */
typedef struct _RESOURCE_RECORD
{
//
//
}DRR;
typedef enum _QUERYDATA{BYNAME,BYIP}QUERYDATA;
u_int
u_char flag0;
u_char flag1;
u_int
u_int
u_int
u_int
char* qname;
u_int qtype;
u_int qclass;
char*
u_int
u_int
u_long
u_int
char*
© Copyright 2006 WIZnet Co., Inc. All rights reserved.
_rdlen;
_rdata;
id;
qdcount; /* Question count */
ancount; /* Answer count */
nscount; /* Authority (name server) count */
arcount; /* Additional record count */
_name;
_type;
_class;
_ttl;
<Table 3-38: Query Type Definition at dns_query()>
<Table 3-37: DNS Message Data Type>
/* Identification */
// Variable length data
// Variable length data
// Variable length data
Chapter 3.2.5.3
/* Query type */
Ping Request Program.
77

Related parts for EVB-PIC24