11 #ifndef ASIO_SOCKET_BASE_HPP 12 #define ASIO_SOCKET_BASE_HPP 14 #if defined(_MSC_VER) && (_MSC_VER >= 1200) 16 #endif // defined(_MSC_VER) && (_MSC_VER >= 1200) 36 #if defined(GENERATING_DOCUMENTATION) 55 #if defined(GENERATING_DOCUMENTATION) 56 static const int message_peek = implementation_defined;
60 static const int message_out_of_band = implementation_defined;
63 static const int message_do_not_route = implementation_defined;
66 static const int message_end_of_record = implementation_defined;
104 #if defined(GENERATING_DOCUMENTATION) 105 typedef implementation_defined
broadcast;
138 #if defined(GENERATING_DOCUMENTATION) 139 typedef implementation_defined
debug;
171 #if defined(GENERATING_DOCUMENTATION) 205 #if defined(GENERATING_DOCUMENTATION) 238 #if defined(GENERATING_DOCUMENTATION) 272 #if defined(GENERATING_DOCUMENTATION) 306 #if defined(GENERATING_DOCUMENTATION) 340 #if defined(GENERATING_DOCUMENTATION) 375 #if defined(GENERATING_DOCUMENTATION) 411 #if defined(GENERATING_DOCUMENTATION) 412 typedef implementation_defined
linger;
447 #if defined(GENERATING_DOCUMENTATION) 472 #if defined(GENERATING_DOCUMENTATION) 495 #if defined(GENERATING_DOCUMENTATION) 502 #if defined(GENERATING_DOCUMENTATION) 503 static const int max_connections = implementation_defined;
520 #endif // ASIO_SOCKET_BASE_HPP asio::detail::socket_option::boolean< ASIO_OS_DEF(SOL_SOCKET), ASIO_OS_DEF(SO_REUSEADDR)> reuse_address
int message_flags
Bitmask type for flags that can be passed to send and receive operations.
asio::detail::socket_option::linger< ASIO_OS_DEF(SOL_SOCKET), ASIO_OS_DEF(SO_LINGER)> linger
asio::detail::socket_option::boolean< ASIO_OS_DEF(SOL_SOCKET), ASIO_OS_DEF(SO_BROADCAST)> broadcast
Socket option to permit sending of broadcast messages.
asio::detail::socket_option::integer< ASIO_OS_DEF(SOL_SOCKET), ASIO_OS_DEF(SO_RCVBUF)> receive_buffer_size
Socket option for the receive buffer size of a socket.
asio::detail::socket_option::integer< ASIO_OS_DEF(SOL_SOCKET), ASIO_OS_DEF(SO_SNDBUF)> send_buffer_size
Socket option for the send buffer size of a socket.
asio::detail::socket_option::boolean< ASIO_OS_DEF(SOL_SOCKET), ASIO_OS_DEF(SO_DONTROUTE)> do_not_route
Socket option to prevent routing, use local interfaces only.
asio::detail::io_control::bytes_readable bytes_readable
asio::detail::io_control::non_blocking_io non_blocking_io
asio::detail::socket_option::boolean< ASIO_OS_DEF(SOL_SOCKET), ASIO_OS_DEF(SO_KEEPALIVE)> keep_alive
Socket option to send keep-alives.
const int custom_socket_option_level
shutdown_type
Different ways a socket may be shutdown.
asio::detail::socket_option::integer< ASIO_OS_DEF(SOL_SOCKET), ASIO_OS_DEF(SO_SNDLOWAT)> send_low_watermark
Socket option for the send low watermark.
~socket_base()
Protected destructor to prevent deletion through this type.
asio::detail::socket_option::boolean< asio::detail::custom_socket_option_level, asio::detail::enable_connection_aborted_option > enable_connection_aborted
Socket option to report aborted connections on accept.
asio::detail::socket_option::integer< ASIO_OS_DEF(SOL_SOCKET), ASIO_OS_DEF(SO_RCVLOWAT)> receive_low_watermark
Socket option for the receive low watermark.
asio::detail::socket_option::boolean< ASIO_OS_DEF(SOL_SOCKET), ASIO_OS_DEF(SO_DEBUG)> debug
Socket option to enable socket-level debugging.
ASIO_STATIC_CONSTANT(int, message_peek=ASIO_OS_DEF(MSG_PEEK))
const int enable_connection_aborted_option