mongoose/docs/c-api/resolv.h/struct_mg_resolve_async_opts.md
Alexander Alashkin 380e87ddfa Honor DNS server from DHCP
PUBLISHED_FROM=10772301ef115c31ada3521ff4235c33a421b782
2017-03-20 09:53:12 +00:00

560 B

title decl_name symbol_kind signature
struct mg_resolve_async_opts struct mg_resolve_async_opts struct struct mg_resolve_async_opts { const char *nameserver; int max_retries; /* defaults to 2 if zero */ int timeout; /* in seconds; defaults to 5 if zero */ int accept_literal; /* pseudo-resolve literal ipv4 and ipv6 addrs */ int only_literal; /* only resolves literal addrs; sync cb invocation */ struct mg_connection **dns_conn; /* return DNS connection */ };

Options for mg_resolve_async_opt.