25#ifndef MYSQL_HARNESS_NET_TS_IMPL_SOCKET_CONSTANTS_H_
26#define MYSQL_HARNESS_NET_TS_IMPL_SOCKET_CONSTANTS_H_
29#include <system_error>
36#include <sys/socket.h>
70static constexpr message_flags message_fast_open = MSG_FASTOPEN;
74static constexpr message_flags message_zero_copy = MSG_ZEROCOPY;
78static constexpr message_flags message_error_queue = MSG_ERRQUEUE;
#define INVALID_SOCKET
Definition: my_io.h:189
Definition: authentication.cc:35
stdx::expected< native_handle_type, error_type > socket(int family, int sock_type, int protocol)
Definition: socket.h:62
wait_type
Definition: socket_constants.h:85
::msghdr msghdr_base
Definition: socket_constants.h:59
::iovec iovec_base
Definition: socket_constants.h:60
static constexpr message_flags message_out_of_band
Definition: socket_constants.h:66
static constexpr message_flags message_do_not_route
Definition: socket_constants.h:67
std::error_code error_type
Definition: socket_constants.h:54
std::bitset< 31 > message_flags
Definition: socket_constants.h:63
static constexpr message_flags message_peek
Definition: socket_constants.h:65
constexpr const int kSocketError
Definition: socket_constants.h:49
int native_handle_type
Definition: socket_constants.h:50
constexpr const native_handle_type kInvalidSocket
Definition: socket_constants.h:51