Embedded TCP/IP stack  4.7.0

◆ fnet_dns_callback_resolved_t

typedef void(* fnet_dns_callback_resolved_t) (const fnet_dns_resolved_addr_t *addr_list, fnet_size_t addr_list_size, const fnet_char_t *host_name, void *cookie)

Prototype of the DNS-client callback function that is called when the DNS client has completed the resolving.

Parameters
addr_listPointer to the list of addresses or FNET_NULL if the resolving is failed.
addr_list_sizeNumber of resolved addresses in addr_list. Its maximu number is defined by FNET_CFG_DNS_RESOLVED_ADDR_MAX.
host_namePointer to the resolved host name. It's set during the DNS-client service initialization as part of fnet_dns_params.
cookieUser-application specific parameter. It's set during the DNS-client service initialization as part of fnet_dns_params.
See also
fnet_dns_resolve(), fnet_dns_params

Definition at line 105 of file fnet_dns.h.


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