26#ifndef MYSQL_HARNESS_NET_TS_IMPL_SOCKET_CONSTANTS_H_ 
   27#define MYSQL_HARNESS_NET_TS_IMPL_SOCKET_CONSTANTS_H_ 
   30#include <system_error> 
   37#include <sys/socket.h>   
   71static constexpr message_flags message_fast_open = MSG_FASTOPEN;
 
   75static constexpr message_flags message_zero_copy = MSG_ZEROCOPY;
 
   79static constexpr message_flags message_error_queue = MSG_ERRQUEUE;
 
#define INVALID_SOCKET
Definition: my_io.h:194
 
Definition: http_server_component.cc:34
 
stdx::expected< native_handle_type, error_type > socket(int family, int sock_type, int protocol)
Definition: socket.h:63
 
wait_type
Definition: socket_constants.h:86
 
::msghdr msghdr_base
Definition: socket_constants.h:60
 
::iovec iovec_base
Definition: socket_constants.h:61
 
static constexpr message_flags message_out_of_band
Definition: socket_constants.h:67
 
static constexpr message_flags message_do_not_route
Definition: socket_constants.h:68
 
std::error_code error_type
Definition: socket_constants.h:55
 
std::bitset< 31 > message_flags
Definition: socket_constants.h:64
 
static constexpr message_flags message_peek
Definition: socket_constants.h:66
 
constexpr const int kSocketError
Definition: socket_constants.h:50
 
int native_handle_type
Definition: socket_constants.h:51
 
constexpr const native_handle_type kInvalidSocket
Definition: socket_constants.h:52