...one of the most highly
regarded and expertly designed C++ library projects in the
world. — Herb Sutter and Andrei
Construct with specified service name for any protocol.
basic_resolver_query( const std::string & service, resolver_query_base::flags resolve_flags = passive|address_configured);
This constructor is typically used to perform name resolution for local service binding.
A string identifying the requested service. This may be a descriptive name or a numeric string corresponding to a port number.
A set of flags that determine how name resolution should be performed. The default flags are suitable for local service binding.
On POSIX systems, service names are typically defined in the file
On Windows, service names may be found in the file
Operating systems may use additional locations when resolving service