join 1.0
lightweight network framework library
Loading...
Searching...
No Matches
socket.hpp File Reference
#include <join/protocol.hpp>
#include <join/endpoint.hpp>
#include <join/openssl.hpp>
#include <join/reactor.hpp>
#include <join/utils.hpp>
#include <join/error.hpp>
#include <openssl/err.h>
#include <type_traits>
#include <iostream>
#include <netinet/tcp.h>
#include <linux/icmp.h>
#include <sys/ioctl.h>
#include <sys/stat.h>
#include <fnmatch.h>
#include <cassert>
#include <fcntl.h>
#include <poll.h>
Include dependency graph for socket.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  join::BasicSocket< Protocol >
 basic socket class. More...
 
class  join::BasicDatagramSocket< Protocol >
 basic datagram socket class. More...
 
class  join::BasicStreamSocket< Protocol >
 basic stream socket class. More...
 
class  join::TlsCategory
 TLS error category. More...
 
class  join::BasicTlsSocket< Protocol >
 basic TLS socket class. More...
 
struct  std::is_error_condition_enum< join::TlsErrc >
 TLS error code specialization. More...
 

Namespaces

namespace  join
 
namespace  std
 

Enumerations

enum class  join::TlsErrc { join::TlsCloseNotifyAlert = 1 , join::TlsProtocolError }
 TLS error codes. More...
 

Functions

template<class Protocol >
constexpr bool join::operator< (const BasicSocket< Protocol > &a, const BasicSocket< Protocol > &b) noexcept
 compare if handle is inferior.
 
template<class Protocol >
constexpr bool join::operator< (const BasicDatagramSocket< Protocol > &a, const BasicDatagramSocket< Protocol > &b) noexcept
 compare if socket handle is inferior.
 
template<class Protocol >
constexpr bool join::operator< (const BasicStreamSocket< Protocol > &a, const BasicStreamSocket< Protocol > &b) noexcept
 compare if socket handle is inferior.
 
const std::error_category & join::getTlsCategory ()
 get error category.
 
std::error_code join::make_error_code (TlsErrc code)
 create an std::error_code object.
 
std::error_condition join::make_error_condition (TlsErrc code)
 create an std::error_condition object.
 
template<class Protocol >
constexpr bool join::operator< (const BasicTlsSocket< Protocol > &a, const BasicTlsSocket< Protocol > &b) noexcept
 compare if socket handle is inferior.