Native socket address wrapper.
Definition in file sockaddr.hpp.
Go to the source code of this file.
#include <netinet/in.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <sys/un.h>
#include <cstring>
#include <string>
#include <fmt/format.h>
#include <userver/utils/fmt_compat.hpp>
#include <userver/logging/log_helper_fwd.hpp>
Classes | |
class | engine::io::AddrException |
Socket address-related exceptions. More... | |
class | engine::io::Sockaddr |
Native socket address wrapper. More... | |
struct | fmt::formatter<::engine::io::Sockaddr > |
Socket address fmt formatter. More... | |
Namespaces | |
namespace | engine |
Asynchronous engine primitives. | |
namespace | engine::io |
Low-level asynchronous I/O interfaces. | |
Enumerations | |
enum class | engine::io::AddrDomain { engine::io::kUnspecified = AF_UNSPEC , engine::io::kInet = AF_INET , engine::io::kInet6 = AF_INET6 , engine::io::kUnix = AF_UNIX } |
Communication domain. More... | |
Functions | |
logging::LogHelper & | engine::io::operator<< (logging::LogHelper &, const Sockaddr &) |
Outputs human-readable address representation, including port number. | |