MySQL 8.4.2
Source Code Documentation
socket.h File Reference
#include <bitset>
#include <stdexcept>
#include <system_error>
#include <sys/types.h>
#include <arpa/inet.h>
#include <netinet/in.h>
#include <netinet/ip6.h>
#include <netinet/tcp.h>
#include <sys/ioctl.h>
#include <termios.h>
#include "mysql/harness/net_ts/netfwd.h"
#include "mysql/harness/net_ts/buffer.h"
#include "mysql/harness/net_ts/impl/socket.h"
#include "mysql/harness/net_ts/io_context.h"
#include "mysql/harness/stdx/expected.h"

Go to the source code of this file.

Classes

class  net::socket_option::option_base< Level, Name, T, V >
 base-class of socket options. More...
 
class  net::socket_base
 
class  net::socket_base::msg_hdr
 
class  net::socket_base::linger
 socket option for SO_LINGER More...
 
class  net::basic_socket_impl_base
 template-less base-class of basic_socket_impl. More...
 
class  net::basic_socket_impl< Protocol >
 
class  net::basic_socket_impl< Protocol >::IoControl< Name, T >
 
class  net::basic_socket< Protocol >
 
class  net::basic_datagram_socket< Protocol >
 
class  net::basic_stream_socket< Protocol >
 
class  net::basic_socket_acceptor< AcceptableProtocol >
 

Namespaces

namespace  net
 
namespace  net::socket_option
 

Typedefs

template<int Level, int Name>
using net::socket_option::boolean = option_base< Level, Name, bool, int >
 socket option that uses bool as value_type. More...
 
template<int Level, int Name>
using net::socket_option::integer = option_base< Level, Name, int, int >
 socket option that uses int as value_type. More...
 

Functions

template<class Protocol , class EndpointSequence , class ConnectCondition >
stdx::expected< typename Protocol::endpoint, std::error_code > net::connect (basic_socket< Protocol > &s, const EndpointSequence &endpoints, ConnectCondition c)
 connect to the first endpoint that is connectable from a sequence of endpoints. More...
 
template<class Protocol , class EndpointSequence >
stdx::expected< typename Protocol::endpoint, std::error_code > net::connect (basic_socket< Protocol > &s, const EndpointSequence &endpoints)
 connect to the first endpoint that is connectable. More...
 
template<class Protocol , class InputIterator , class ConnectCondition >
stdx::expected< InputIterator, std::error_code > net::connect (basic_socket< Protocol > &s, InputIterator first, InputIterator last, ConnectCondition c)
 connect to the first endpoint that is connectable from a range [first, last). More...
 
template<class Protocol , class InputIterator , class ConnectCondition >
stdx::expected< InputIterator, std::error_code > net::connect (basic_socket< Protocol > &s, InputIterator first, InputIterator last)