MySQL 9.1.0
Source Code Documentation
|
#include <internet.h>
Public Types | |
using | executor_type = io_context::executor_type |
using | protocol_type = InternetProtocol |
using | endpoint_type = typename InternetProtocol::endpoint |
using | results_type = basic_resolver_results< InternetProtocol > |
using | error_type = impl::socket::error_type |
Public Types inherited from net::ip::resolver_base | |
using | flags = std::bitset< 32 > |
Public Member Functions | |
basic_resolver (io_context &io_ctx) | |
stdx::expected< results_type, error_type > | resolve (const std::string &host_name, const std::string &service_name, flags f) |
stdx::expected< results_type, error_type > | resolve (const std::string &host_name, const std::string &service_name) |
stdx::expected< results_type, error_type > | resolve (const endpoint_type &ep) |
Private Attributes | |
io_context & | io_ctx_ |
Additional Inherited Members | |
Static Public Attributes inherited from net::ip::resolver_base | |
static constexpr flags | passive = AI_PASSIVE |
static constexpr flags | canonical_name = AI_CANONNAME |
static constexpr flags | numeric_host = AI_NUMERICHOST |
static constexpr flags | numeric_service = AI_NUMERICSERV |
static constexpr flags | v4_mapped = AI_V4MAPPED |
static constexpr flags | all_matching = AI_ALL |
static constexpr flags | address_configured = AI_ADDRCONFIG |
using net::ip::basic_resolver< InternetProtocol >::endpoint_type = typename InternetProtocol::endpoint |
using net::ip::basic_resolver< InternetProtocol >::error_type = impl::socket::error_type |
using net::ip::basic_resolver< InternetProtocol >::executor_type = io_context::executor_type |
using net::ip::basic_resolver< InternetProtocol >::protocol_type = InternetProtocol |
using net::ip::basic_resolver< InternetProtocol >::results_type = basic_resolver_results<InternetProtocol> |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
private |