Blocking Functions for getaddrinfo.
Definition in file get_addr_info.hpp.
Go to the source code of this file.
Functions | |
std::vector< engine::io::Sockaddr > | net::blocking::GetAddrInfo (std::string_view host, const char *service_or_port) |
Resolve host and port via blocking syscall. | |
std::vector< engine::io::Sockaddr > net::blocking::GetAddrInfo | ( | std::string_view | host, |
const char * | service_or_port ) |
Resolve host and port via blocking syscall.
host | - hostname (or IP) to resolve |
service_and_port | - if this argument is a service name, it is translated to the corresponding port number, otherwise treated as port number. |