Wrapper for getaddrinfo(3). Do not use directly: call Lookup/LookupHost/LookupNumeric/LookupSubNet.
Declared in <netbase.h>
std::vector<CNetAddr>
WrappedGetAddrInfo(
std::string const& name,
bool allow_lookup);
The resolved network addresses.
| Name | Description |
|---|---|
| name | The host name or numeric address to resolve. |
| allow_lookup | Whether DNS lookups are permitted. |