mongoose/docs/c-api/resolv.h/struct_mg_resolve_async_opts.md
Sergey Lyubka 12437fd7fe Refactor Mongoose documentation
PUBLISHED_FROM=e9a4e5c7b4a1d03b93a2a79e29de19e60e919929
2016-09-01 14:35:02 +00:00

564 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_url; 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.