E-MailRelay
|
Wrappers for sendmsg() and recvmsg(). More...
#include <gmsg.h>
Static Public Member Functions | |
static ssize_t | send (SOCKET, const void *, std::size_t, int flags) noexcept |
A send() replacement using sendmsg(). More... | |
static ssize_t | sendto (SOCKET, const void *, std::size_t, int flags, const sockaddr *, socklen_t) noexcept |
A sendto() replacement using sendmsg(). More... | |
static ssize_t | recv (SOCKET, void *, std::size_t, int flags) |
A recv() wrapper. More... | |
static ssize_t | recvfrom (SOCKET, void *, std::size_t, int flags, sockaddr *, socklen_t *) |
A recvfrom() replacement using recvmsg(). More... | |
static bool | fatal (int error) noexcept |
Returns true if the error value indicates a permanent problem with the socket. More... | |
Wrappers for sendmsg() and recvmsg().
These are near drop-in replacements for send()/sendto() and recv()/recvto(), but with SIGPIPE disabled and optional file-descriptor-passing capabilities.
|
staticnoexcept |
Returns true if the error value indicates a permanent problem with the socket.
Definition at line 56 of file gmsg_unix.cpp.
|
static |
A recv() wrapper.
Definition at line 45 of file gmsg_unix.cpp.
|
static |
A recvfrom() replacement using recvmsg().
Definition at line 50 of file gmsg_unix.cpp.
|
staticnoexcept |
A send() replacement using sendmsg().
Definition at line 34 of file gmsg_unix.cpp.
|
staticnoexcept |
A sendto() replacement using sendmsg().
Definition at line 39 of file gmsg_unix.cpp.