...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
The socket_base
class is used as a base for the basic_stream_socket
and basic_datagram_socket
class templates so that we have a common place to define the shutdown_type
and enum.
class socket_base
Name |
Description |
---|---|
Socket option to permit sending of broadcast messages. |
|
IO control command to get the amount of data that can be read without blocking. |
|
Socket option to enable socket-level debugging. |
|
Socket option to prevent routing, use local interfaces only. |
|
Socket option to report aborted connections on accept. |
|
Socket option to send keep-alives. |
|
Socket option to specify whether the socket lingers on close if unsent data is present. |
|
Bitmask type for flags that can be passed to send and receive operations. |
|
Socket option for putting received out-of-band data inline. |
|
Socket option for the receive buffer size of a socket. |
|
Socket option for the receive low watermark. |
|
Socket option to allow the socket to be bound to an address that is already in use. |
|
Socket option for the send buffer size of a socket. |
|
Socket option for the send low watermark. |
|
Different ways a socket may be shutdown. |
|
Wait types. |
Name |
Description |
---|---|
Protected destructor to prevent deletion through this type. |
Name |
Description |
---|---|
(Deprecated: Use max_listen_connections.) The maximum length of the queue of pending incoming connections. |
|
The maximum length of the queue of pending incoming connections. |
|
Specify that the data should not be subject to routing. |
|
Specifies that the data marks the end of a record. |
|
Process out-of-band data. |
|
Peek at incoming data without removing it from the input queue. |
Header: boost/asio/socket_base.hpp
Convenience header: boost/asio.hpp