Wrapper for getaddrinfo(3). Do not use directly: call Lookup/LookupHost/LookupNumeric/LookupSubNet.

Synopsis

Declared in <netbase.h>

std::vector<CNetAddr>
WrappedGetAddrInfo(
    std::string const& name,
    bool allow_lookup);

Return Value

The resolved network addresses.

Parameters

Name

Description

name

The host name or numeric address to resolve.

allow_lookup

Whether DNS lookups are permitted.

Created with MrDocs