Nicolas Borla / Mbed OS BBR_1Ebene
Embed: (wiki syntax)

« Back to documentation index

fnet_dns_params Struct Reference

fnet_dns_params Struct Reference
[Fnet_dns]

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

#include <fnet_dns.h>

Data Fields

struct sockaddr dns_server_addr
 Socket address of the remote DNS server to connect to.
fnet_char_thost_name
 Host name to resolve (null-terminated string).
fnet_address_family_t addr_family
 Family of the IP Address which is queried.
fnet_dns_callback_resolved_t callback
 Pointer to the callback function defined by fnet_dns_callback_resolved_t.
fnet_uint32_t cookie
 Optional application-specific parameter.

Detailed Description

Initialization parameters for the fnet_dns_init() function.

Definition at line 117 of file fnet_dns.h.


Field Documentation

Family of the IP Address which is queried.

Definition at line 122 of file fnet_dns.h.

Pointer to the callback function defined by fnet_dns_callback_resolved_t.

It is called when the DNS-client resolving is finished or an error is occurred.

Definition at line 123 of file fnet_dns.h.

fnet_uint32_t cookie

Optional application-specific parameter.


It's passed to the callback function as input parameter.

Definition at line 126 of file fnet_dns.h.

Socket address of the remote DNS server to connect to.

Definition at line 119 of file fnet_dns.h.

Host name to resolve (null-terminated string).

Definition at line 121 of file fnet_dns.h.