54 std::string_view node, std::string_view service = {},
55 std::optional<addrinfo> hints = {});
72 const std::shared_ptr<GetAddrInfoReq>& req,
73 std::string_view node, std::string_view service = {},
74 std::optional<addrinfo> hints = {}) {
93 std::string_view node, std::string_view service = {},
94 std::optional<addrinfo> hints = {});
111 std::function<
void(
const addrinfo&)> callback,
112 std::string_view node, std::string_view service = {},
113 std::optional<addrinfo> hints = {}) {
Loop & GetLoop() const
Definition GetAddrInfo.hpp:30
wpi::util::sig::Signal< const addrinfo & > resolved
Resolved lookup signal.
Definition GetAddrInfo.hpp:36
Event loop.
Definition Loop.hpp:35
uv_getaddrinfo_t * GetRaw() noexcept
Definition Request.hpp:149
RequestImpl()
Definition Request.hpp:162
Definition Prepare.hpp:14
void GetAddrInfo(Loop &loop, const std::shared_ptr< GetAddrInfoReq > &req, std::string_view node, std::string_view service={}, std::optional< addrinfo > hints={})
Asynchronous getaddrinfo(3).
SignalBase< detail::NullMutex, T... > Signal
Specialization of SignalBase to be used in single threaded contexts.
Definition Signal.h:809
UV_REQ_FIELDS uv_loop_t * loop
Definition uv.h:968
void * data
Definition uv.h:1907