42 static ssize_t
send( SOCKET ,
const void * , std::size_t ,
int flags ) noexcept ;
45 static ssize_t
sendto( SOCKET ,
const void * , std::size_t ,
int flags ,
const sockaddr * , socklen_t ) noexcept ;
48 static ssize_t
sendto( SOCKET ,
const void * , std::size_t ,
int flags ,
const sockaddr * , socklen_t ,
52 static ssize_t
sendto( SOCKET ,
const std::vector<std::string_view> & ,
int flags ,
const sockaddr * , socklen_t ) ;
55 static ssize_t
recv( SOCKET ,
void * , std::size_t ,
int flags ) noexcept ;
58 static ssize_t
recvfrom( SOCKET ,
void * , std::size_t ,
int , sockaddr * , socklen_t * ) noexcept ;
61 static ssize_t
recvfrom( SOCKET ,
void * , std::size_t ,
int , sockaddr * , socklen_t * ,
62 int * fd_received_p ) ;
66 static bool fatal(
int error ) noexcept ;
Wrappers for sendmsg() and recvmsg().
static ssize_t recv(SOCKET, void *, std::size_t, int flags) noexcept
A recv() wrapper.
static bool fatal(int error) noexcept
Returns true if the error value indicates a permanent problem with the socket.
static ssize_t send(SOCKET, const void *, std::size_t, int flags) noexcept
A send() wrapper.
static ssize_t sendto(SOCKET, const void *, std::size_t, int flags, const sockaddr *, socklen_t) noexcept
A sendto() wrapper.
static ssize_t recvfrom(SOCKET, void *, std::size_t, int, sockaddr *, socklen_t *) noexcept
A recvfrom() wrapper.