MySQL 8.3.0
Source Code Documentation
local.h File Reference
#include <cstring>
#include <string>
#include <system_error>
#include <sys/un.h>
#include "mysql/harness/net_ts/internet.h"
#include "mysql/harness/net_ts/socket.h"
#include "mysql/harness/stdx/expected.h"

Go to the source code of this file.

Classes

class  local::basic_endpoint< Protocol >
 endpoint of Unix domain sockets (AF_UNIX). More...
 
class  local::stream_protocol
 
class  local::datagram_protocol
 
class  local::seqpacket_protocol
 

Namespaces

namespace  local
 
namespace  local::socket_option
 

Macros

#define NET_TS_HAS_UNIX_SOCKET
 

Functions

template<typename Protocol >
::std::ostream & local::operator<< (::std::ostream &os, const basic_endpoint< Protocol > &ep)
 
template<class Protocol >
stdx::expected< void, std::error_code > local::connect_pair (net::io_context *io_ctx, net::basic_socket< Protocol > &sock1, net::basic_socket< Protocol > &sock2)
 
template<class Protocol >
bool local::operator== (const basic_endpoint< Protocol > &a, const basic_endpoint< Protocol > &b)
 
template<class Protocol >
bool local::operator!= (const basic_endpoint< Protocol > &a, const basic_endpoint< Protocol > &b)
 

Macro Definition Documentation

◆ NET_TS_HAS_UNIX_SOCKET

#define NET_TS_HAS_UNIX_SOCKET