WIZlib Library API  ver 1.0
WIZlib Library API User Menual
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions

DNS(Domain Name System) Query. More...

Collaboration diagram for DNS:

Functions

int8 dns_query (uint8 sock, uint8 *domain, uint8 *ip)
 Perform DNS Query. More...
 

Detailed Description

DNS(Domain Name System) Query.

Function Documentation

int8 dns_query ( uint8  sock,
uint8 *  domain,
uint8 *  ip 
)

Perform DNS Query.

Parameters
sockSocket number to use
domainDomain name string to resolve
ipThe variable in which resolved IP address will be returned
Returns
RET_OK: Success
RET_NOK: Error

Definition at line 383 of file dns.c.