MySQL 9.1.0
Source Code Documentation
socket_operations.h File Reference
#include <stdexcept>
#include <string>
#include <system_error>
#include "harness_export.h"
#include "mysql/harness/net_ts/impl/socket_constants.h"

Go to the source code of this file.

Classes

class  mysql_harness::SocketOperationsBase
 Base class to allow multiple SocketOperations implementations (at least one "real" and one mock for testing purposes) More...
 
class  mysql_harness::SocketOperationsBase::LocalHostnameResolutionError
 Exception thrown by get_local_hostname() on error. More...
 
class  mysql_harness::SocketOperations
 This class provides a "real" (not mock) implementation. More...
 

Namespaces

namespace  mysql_harness
 

Typedefs

using mysql_harness::socket_t = net::impl::socket::native_handle_type
 

Variables

constexpr socket_t mysql_harness::kInvalidSocket = net::impl::socket::kInvalidSocket