class final
#include <IO/HttpRequest.h>
Socket
Public types
- using Type = int
Public static variables
- static Type invalid constexpr
Constructors, destructors, conversion operators
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