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

273 B

title decl_name symbol_kind signature
mg_resolve_from_hosts_file() mg_resolve_from_hosts_file func int mg_resolve_from_hosts_file(const char *host, union socket_address *usa);

Resolve a name from /etc/hosts.

Returns 0 on success, -1 on failure.