[#WrappedGetAddrInfo]
= WrappedGetAddrInfo
:mrdocs:

Wrapper for getaddrinfo(3)&period; Do not use directly&colon; call Lookup&sol;LookupHost&sol;LookupNumeric&sol;LookupSubNet&period;

== Synopsis

Declared in `&lt;netbase&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::vector&lt;CNetAddr&gt;
WrappedGetAddrInfo(
    std::string const& name,
    bool allow&lowbar;lookup);
----

== Return Value

The resolved network addresses&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *name*
| The host name or numeric address to resolve&period;
| *allow&lowbar;lookup*
| Whether DNS lookups are permitted&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
