Orbit Framework
An ultra-modern, asynchronous, cross-platform C++ Web Framework.
Loading...
Searching...
No Matches
network Namespace Reference

Classes

class  ClientTlsContext
 
class  ConnectionPool
 
class  EpollProactor
 
class  IoUringProactor
 
struct  PooledConnection
 
class  Proactor
 
class  Socket
 
class  TlsContext
 
class  UdpSocket
 

Typedefs

using socket_t = int
 
using socklen_t = ::socklen_t
 
using ssize_t = ::ssize_t
 

Functions

int get_last_socket_error ()
 
bool is_would_block_error ()
 
void initialize_platform_networking ()
 
void cleanup_platform_networking ()
 
void close_socket (socket_t fd)
 
void set_non_blocking (socket_t fd)
 
static int alpn_select_cb (SSL *ssl, const unsigned char **out, unsigned char *outlen, const unsigned char *in, unsigned int inlen, void *arg)
 

Variables

constexpr socket_t INVALID_SOCKET_FD = -1
 
constexpr int SOCKET_ERROR_VAL = -1
 

Typedef Documentation

◆ socket_t

using network::socket_t = typedef int

◆ socklen_t

using network::socklen_t = typedef ::socklen_t

◆ ssize_t

using network::ssize_t = typedef ::ssize_t

Function Documentation

◆ alpn_select_cb()

static int network::alpn_select_cb ( SSL *  ssl,
const unsigned char **  out,
unsigned char *  outlen,
const unsigned char *  in,
unsigned int  inlen,
void *  arg 
)
static

◆ cleanup_platform_networking()

void network::cleanup_platform_networking ( )

◆ close_socket()

void network::close_socket ( socket_t  fd)

◆ get_last_socket_error()

int network::get_last_socket_error ( )
inline

◆ initialize_platform_networking()

void network::initialize_platform_networking ( )

◆ is_would_block_error()

bool network::is_would_block_error ( )
inline

◆ set_non_blocking()

void network::set_non_blocking ( socket_t  fd)

Variable Documentation

◆ INVALID_SOCKET_FD

constexpr socket_t network::INVALID_SOCKET_FD = -1
constexpr

◆ SOCKET_ERROR_VAL

constexpr int network::SOCKET_ERROR_VAL = -1
constexpr