EVB-PIC24 WIZnet, EVB-PIC24 Datasheet - Page 88
![no-image](/images/no-image-200.jpg)
EVB-PIC24
Manufacturer Part Number
EVB-PIC24
Description
Development Boards & Kits - PIC / DSPIC W3150A+EVAL BOARD BASED ON PIC24
Manufacturer
WIZnet
Datasheet
1.EVB-PIC24.pdf
(111 pages)
Specifications of EVB-PIC24
Rohs
yes
Product
Development Kits
Interface Type
RS-232
Data Bus Width
16 bit
Dimensions
50 mm x 40 mm
- Current page: 88 of 111
- Download datasheet (2Mb)
dns_query() initializes the buffer that is needed for DNS inter-working and creates QNAME of Question
Section based on Query Type „BYNAME‟, and „BYIP.‟ If the Query Type is „BYNAME,‟ that is, when querying
the Domain Name with IP Address, Domain Name can be used as QNAME without transformation.
When Query Type is „BYIP,‟ that is, when querying the Domain Name with IP Address, change IP Address to
IP Address String and QNAME is used after adding “in-addr.arpa” to the changed IP Address String. After
the creation of QNAME, UDP Socket is created for DNS inter-working and DNS Request Message is created
by calling dns_make_query(). If DNS Request Message is created successfully DNS Request Message is
sent to DNS Name Server through UDP Socket. After sending DNS Request Message it receives DNS
Response Message or waits until the waiting time is expired.
If DNS Response Message is received from DNS Name Server during the waiting time it analyzes received
DNS Response Message using dns_parse_response().dns_query() returns IP Address or Domain Name
depending on Query Type.
<Fig 3.39> is dns_query()‟s process map
Get the network information of EVB
Communicate with the DNS Server
dns_query(s,&hostip,BYNAME)
Find a Free channel of W3100A
NetConf.dns == 0xFFFFFFFF
getSocket(SOCK_CLOSED)
SOCKET s
get_netconf(&NetConf)
Declare Local Variables
NetConf.dns == 0
gethostbyname()
RETURN 1
Success?
Found?
||
Y
N
Y
© Copyright 2006 WIZnet Co., Inc. All rights reserved.
N
<Fig 3.38: gethostbyaddr() & gethostbyname()>
N
Y
with the Server
communicate
RETURN 0
Not found a Free
Fail to
DNS Server IP
Addess is not
Configued
RETURN 0
Socket
Get the network information of EVB
Communicate with the DNS Server
Find a Free channel of W3100A
NetConf.dns == 0xFFFFFFFF
getSocket(SOCK_CLOSED)
dns_query(s,&hostip,BYIP)
SOCKET s
get_netconf(&NetConf)
Declare Local Variables
NetConf.dns == 0
gethostbyaddr()
RETURN 1
Success?
Found?
||
N
Y
Y
N
N
Y
with the Server
communicate
RETURN 0
Fail to
DNS Server IP
Addess is not
Not found a
Free Socket
RETURN 0
Configued
78
Related parts for EVB-PIC24
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![EVB-USB3343](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
Daughter Cards & OEM Boards
Manufacturer:
Microchip Technology
![EVB-LAN89303](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
Daughter Cards & OEM Boards
Manufacturer:
Microchip Technology
![EVB-LAN9313P](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
Daughter Cards & OEM Boards
Manufacturer:
Microchip Technology
![EVB-LAN9220-MINI](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
Daughter Cards & OEM Boards
Manufacturer:
Microchip Technology
![EVB-LAN89530-MII](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
Daughter Cards & OEM Boards
Manufacturer:
Microchip Technology
![EVB-LAN9221-MINI](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
Daughter Cards & OEM Boards
Manufacturer:
Microchip Technology
![EVB-USB3330](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
Daughter Cards & OEM Boards
Manufacturer:
Microchip Technology
![EVB-USB3740](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
Daughter Cards & OEM Boards
Manufacturer:
Microchip Technology
![EVB-B1+](/images/no-image3.png)
Part Number:
Description:
Development Boards & Kits - ARM W3150A+EVAL BOARD BASED ON AVR
Manufacturer:
WIZnet
Datasheet:
![EVB-USB3750](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
Daughter Cards & OEM Boards
Manufacturer:
Microchip Technology
![EVB-EMC1043](/photos/9/20/92015/evb-emc1043_tmb.jpg)
Part Number:
Description:
BOARD EVALUATION FOR EMC1043
Manufacturer:
SMSC
Datasheet:
![EVB-USB2514Q36-BAS](/photos/9/7/90706/evb-usb2514q36-bas_tmb.jpg)
Part Number:
Description:
BOARD EVAL FOR USB2514/USB2514I
Manufacturer:
SMSC
Datasheet:
![EVB-USB3311-CP](/images/manufacturer_photos/0/6/617/smsc_tmb.jpg)
Part Number:
Description:
EVALUATION BOARD FOR USB3311C
Manufacturer:
SMSC
Datasheet:
![EVB-USB3317-CP](/images/manufacturer_photos/0/6/617/smsc_tmb.jpg)
Part Number:
Description:
EVALUATION BOARD FOR USB3317C
Manufacturer:
SMSC
Datasheet:
![EVB-USB2512Q36-BAS](/photos/9/10/91014/evb-usb2512q36-bas_tmb.jpg)
Part Number:
Description:
BOARD EVAL FOR USB2512/USB2512I
Manufacturer:
SMSC
Datasheet: