MySQL 9.1.0
Source Code Documentation
net::socket_base Class Reference

#include <socket.h>

Inheritance diagram for net::socket_base:
[legend]

Classes

class  linger
 socket option for SO_LINGER More...
 
class  msg_hdr
 

Public Types

enum class  shutdown_type { shutdown_receive = SHUT_RD , shutdown_send = SHUT_WR , shutdown_both = SHUT_RDWR }
 
using broadcast = socket_option::boolean< SOL_SOCKET, SO_BROADCAST >
 
using debug = socket_option::boolean< SOL_SOCKET, SO_DEBUG >
 
using do_not_route = socket_option::boolean< SOL_SOCKET, SO_DONTROUTE >
 
using error = socket_option::integer< SOL_SOCKET, SO_ERROR >
 
using keep_alive = socket_option::boolean< SOL_SOCKET, SO_KEEPALIVE >
 
using out_of_band_inline = socket_option::boolean< SOL_SOCKET, SO_OOBINLINE >
 
using receive_buffer_size = socket_option::integer< SOL_SOCKET, SO_RCVBUF >
 
using receive_low_watermark = socket_option::integer< SOL_SOCKET, SO_RCVLOWAT >
 
using reuse_address = socket_option::boolean< SOL_SOCKET, SO_REUSEADDR >
 
using send_buffer_size = socket_option::integer< SOL_SOCKET, SO_SNDBUF >
 
using send_low_watermark = socket_option::integer< SOL_SOCKET, SO_SNDLOWAT >
 
using message_flags = impl::socket::message_flags
 
using wait_type = impl::socket::wait_type
 

Static Public Attributes

static constexpr message_flags message_peek = impl::socket::message_peek
 
static constexpr message_flags message_out_of_band
 
static constexpr message_flags message_do_not_route
 
static constexpr wait_type wait_read = wait_type::wait_read
 
static constexpr wait_type wait_write = wait_type::wait_write
 
static constexpr wait_type wait_error = wait_type::wait_error
 
static constexpr shutdown_type shutdown_receive
 
static constexpr shutdown_type shutdown_send = shutdown_type::shutdown_send
 
static constexpr shutdown_type shutdown_both = shutdown_type::shutdown_both
 
static const int max_listen_connections {SOMAXCONN}
 

Member Typedef Documentation

◆ broadcast

using net::socket_base::broadcast = socket_option::boolean<SOL_SOCKET, SO_BROADCAST>

◆ debug

using net::socket_base::debug = socket_option::boolean<SOL_SOCKET, SO_DEBUG>

◆ do_not_route

using net::socket_base::do_not_route = socket_option::boolean<SOL_SOCKET, SO_DONTROUTE>

◆ error

using net::socket_base::error = socket_option::integer<SOL_SOCKET, SO_ERROR>

◆ keep_alive

using net::socket_base::keep_alive = socket_option::boolean<SOL_SOCKET, SO_KEEPALIVE>

◆ message_flags

◆ out_of_band_inline

◆ receive_buffer_size

◆ receive_low_watermark

◆ reuse_address

using net::socket_base::reuse_address = socket_option::boolean<SOL_SOCKET, SO_REUSEADDR>

◆ send_buffer_size

◆ send_low_watermark

◆ wait_type

Member Enumeration Documentation

◆ shutdown_type

Enumerator
shutdown_receive 
shutdown_send 
shutdown_both 

Member Data Documentation

◆ max_listen_connections

const int net::socket_base::max_listen_connections {SOMAXCONN}
static

◆ message_do_not_route

constexpr message_flags net::socket_base::message_do_not_route
staticconstexpr
Initial value:
=
static constexpr message_flags message_do_not_route
Definition: socket_constants.h:68

◆ message_out_of_band

constexpr message_flags net::socket_base::message_out_of_band
staticconstexpr
Initial value:
=
static constexpr message_flags message_out_of_band
Definition: socket_constants.h:67

◆ message_peek

constexpr message_flags net::socket_base::message_peek = impl::socket::message_peek
staticconstexpr

◆ shutdown_both

constexpr shutdown_type net::socket_base::shutdown_both = shutdown_type::shutdown_both
staticconstexpr

◆ shutdown_receive

constexpr shutdown_type net::socket_base::shutdown_receive
staticconstexpr

◆ shutdown_send

constexpr shutdown_type net::socket_base::shutdown_send = shutdown_type::shutdown_send
staticconstexpr

◆ wait_error

constexpr wait_type net::socket_base::wait_error = wait_type::wait_error
staticconstexpr

◆ wait_read

constexpr wait_type net::socket_base::wait_read = wait_type::wait_read
staticconstexpr

◆ wait_write

constexpr wait_type net::socket_base::wait_write = wait_type::wait_write
staticconstexpr

The documentation for this class was generated from the following file: