Death::IO::Http::Socket class final

Public types

using Type = int

Public static variables

static Type invalid constexpr

Constructors, destructors, conversion operators

Socket(const InternetProtocol internetProtocol) explicit
Socket(Socket&& other) noexcept
~Socket()

Public functions

auto operator=(Socket&& other) -> Socket& noexcept
auto Connect(const struct sockaddr* address, const socklen_t addressSize, const std::int64_t timeout) -> bool
auto Send(const void* buffer, const std::size_t length, const std::int64_t timeout) -> std::size_t
auto Recv(void* buffer, const std::size_t length, const std::int64_t timeout) -> std::size_t
auto IsValid() const -> bool