|
idfxx 1.0.0
Modern C++23 components for ESP-IDF
|
Resolver hints used by the resolution functions. More...
Public Attributes | |
| std::optional< address_family > | family = std::nullopt |
| Address family preference. | |
| bool | numeric_host = false |
| Require the host to be a numeric address — skip the DNS lookup. | |
| bool | numeric_port = false |
| Require the service to be a numeric port — skip the service-name lookup. | |
| bool | passive = false |
Request results suitable for bind() rather than connect(). | |
| std::optional< ip_protocol > | protocol = std::nullopt |
| Restrict results to a particular transport protocol. | |
Resolver hints used by the resolution functions.
Definition at line 44 of file resolver.hpp.
| std::optional<address_family> idfxx::net::resolver_options::family = std::nullopt |
Address family preference.
std::nullopt accepts either family.
Definition at line 46 of file resolver.hpp.
Require the host to be a numeric address — skip the DNS lookup.
Definition at line 49 of file resolver.hpp.
Require the service to be a numeric port — skip the service-name lookup.
Definition at line 52 of file resolver.hpp.
Request results suitable for bind() rather than connect().
Definition at line 55 of file resolver.hpp.
| std::optional<ip_protocol> idfxx::net::resolver_options::protocol = std::nullopt |
Restrict results to a particular transport protocol.
std::nullopt accepts any protocol.
Definition at line 58 of file resolver.hpp.