MySQL 8.0.39
Source Code Documentation
socket_constants.h File Reference
#include <bitset>
#include <system_error>
#include <poll.h>
#include <sys/socket.h>

Go to the source code of this file.

Namespaces

namespace  net
 
namespace  net::impl
 
namespace  net::impl::socket
 

Typedefs

using net::impl::socket::native_handle_type = int
 
using net::impl::socket::error_type = std::error_code
 
using net::impl::socket::msghdr_base = ::msghdr
 
using net::impl::socket::iovec_base = ::iovec
 
using net::impl::socket::message_flags = std::bitset< 31 >
 

Enumerations

enum class  net::impl::socket::wait_type { net::impl::socket::wait_read = POLLIN , net::impl::socket::wait_write = POLLOUT , net::impl::socket::wait_error = POLLERR | POLLHUP }
 

Variables

constexpr const int net::impl::socket::kSocketError {-1}
 
constexpr const native_handle_type net::impl::socket::kInvalidSocket = -1
 
static constexpr message_flags net::impl::socket::message_peek = MSG_PEEK
 
static constexpr message_flags net::impl::socket::message_out_of_band = MSG_OOB
 
static constexpr message_flags net::impl::socket::message_do_not_route = MSG_DONTROUTE