Embedded TCP/IP stack  4.7.0
fnet_dns_params Struct Reference

Initialization parameters for the fnet_dns_init() function. More...

Data Fields

struct fnet_sockaddr dns_server_addr
 Socket address of the remote DNS server to connect to.
If it is unspecified, any registered DNS server is used. And if dns_server_addr->sa_family and/or dns_server_addr->sa_scope_id are set, they are used as a tip for DNS sever address. More...
 
const fnet_char_thost_name
 Host name to resolve (null-terminated string). More...
 
fnet_address_family_t addr_family
 Family of the IP Address which is queried. More...
 
fnet_dns_callback_resolved_t callback
 Pointer to the callback function defined by fnet_dns_callback_resolved_t. It is called when the DNS-client resolving is finished or a timeout is occurred. More...
 
void * cookie
 Optional application-specific parameter which is passed to the callback function as input parameter. More...
 

Detailed Description

Initialization parameters for the fnet_dns_init() function.

Definition at line 110 of file fnet_dns.h.


The documentation for this struct was generated from the following file:

© 2005-2020 by Andrej Butok. http://fnet.sourceforge.net