omni::net::socket6
NAME

omni::net::socket6

A class of omni::net

#include <omni/net/socket.hpp>
class omni::net::socket6

MEMBERS

omni::net::socket6::socket6(omni::net::socket_type type, omni::net::protocol_type protocol)
omni::net::socket6::~socket6()
omni::net::socket_error omni::net::socket6::accept(omni::net::endpoint_descriptor6& remote_ep)
omni::net::address_family omni::net::socket6::address_family()
omni::net::socket_error omni::net::socket6::bind()
omni::net::socket_error omni::net::socket6::bind4(const std::string& ip, uint16_t port)
omni::net::socket_error omni::net::socket6::bind6(const std::string& ip, uint16_t port)
std::string omni::net::socket6::bound_endpoint()
uint16_t omni::net::socket6::bound_port()
omni::net::socket_error omni::net::socket6::close()
omni::net::socket_error omni::net::socket6::connect()
omni::net::socket_error omni::net::socket6::connect4(const std::string& ip, uint16_t port)
omni::net::socket_error omni::net::socket6::connect6(const std::string& ip, uint16_t port)
omni::net::socket_error omni::net::socket6::connect_host(const std::string& host, uint16_t port)
omni::net::socket_error omni::net::socket6::disconnect(bool reuse)
std::string omni::net::socket6::endpoint()
omni::net::socket_error omni::net::socket6::get_bound_endpoint4_binary(uint32_t& ep)
omni::net::socket_error omni::net::socket6::get_bound_endpoint6_binary(omni::net::ip6_binary_address& ep)
omni::net::socket_error omni::net::socket6::get_endpoint4_binary(uint32_t& ep)
omni::net::socket_error omni::net::socket6::get_endpoint6_binary(omni::net::ip6_binary_address& ep)
omni::net::socket_error omni::net::socket6::get_socket_option(omni::net::socket_option_level op_level, int32_t op_name, int32_t& op_val)
uint64_t omni::net::socket6::hash()
omni::net::socket_error omni::net::socket6::ioc(uint32_t op_code, omni::net::xfr_t* val)
bool omni::net::socket6::is_bound()
bool omni::net::socket6::is_connected()
bool omni::net::socket6::is_ip4()
bool omni::net::socket6::is_ip6()
bool omni::net::socket6::is_listening()
bool omni::net::socket6::is_open()
bool omni::net::socket6::is_shutdown()
omni::net::socket_error omni::net::socket6::last_error()
omni::net::socket_error omni::net::socket6::listen()
omni::net::socket_t omni::net::socket6::native_handle()
omni::net::socket_error omni::net::socket6::open()
uint16_t omni::net::socket6::port()
omni::net::protocol_type omni::net::socket6::protocol()
template < typename T > omni::net::socket_error omni::net::socket6::receive(std::vector<T>& buffer, uint32_t& received)
template < typename T > omni::net::socket_error omni::net::socket6::receive_from(std::vector<T>& buffer, uint32_t& received)
template < typename T > omni::net::socket_error omni::net::socket6::send(const std::vector<T>& buffer, uint32_t& sent)
template < typename T > omni::net::socket_error omni::net::socket6::send_to(const std::vector<T>& buffer, uint32_t len, const std::string& ip, uint16_t port, uint32_t& sent)
omni::net::socket6& omni::net::socket6::set_address_family(omni::net::address_family family)
void omni::net::socket6::set_allow_ip4_fallback(bool set)
omni::net::socket_error omni::net::socket6::set_blocking_mode(omni::net::blocking_mode mode)
omni::net::socket6& omni::net::socket6::set_protocol_type(omni::net::protocol_type protocol)
omni::net::socket_error omni::net::socket6::set_socket_option(omni::net::socket_option_level op_level, int32_t op_name, int32_t op_val)
omni::net::socket6& omni::net::socket6::set_socket_type(omni::net::socket_type type)
omni::net::socket_error omni::net::socket6::shutdown(omni::net::socket_shutdown how)
omni::net::socket_type omni::net::socket6::socket_type()
void omni::net::socket6::swap(omni::net::socket6& other)
std::string omni::net::socket6::to_string()
omni::string_t omni::net::socket6::to_string_t()
std::wstring omni::net::socket6::to_wstring()
uint64_t omni::net::socket6::type()
omni::net::socket_error omni::net::socket6::unsafe_receive(char* buffer, uint32_t buffer_size, uint32_t& received)
omni::net::socket_error omni::net::socket6::unsafe_receive_from(char* buffer, uint32_t buffer_size, uint32_t& received)
omni::net::socket_error omni::net::socket6::unsafe_send(const char* buffer, std::size_t buffer_size, uint32_t& sent)
omni::net::socket_error omni::net::socket6::unsafe_send_to(const char* buffer, uint32_t len, const std::string& ip, uint16_t port, uint32_t& sent)
omni::net::socket6::operator std::string()
omni::net::socket6::operator std::wstring()
friend std::ostream& omni::net::socket6::operator<<(std::ostream& s, const omni::net::socket6& c)
omni::net::socket6::disposing
omni::net::socket6::name

SYNOPSIS

The socket6 class is used to facilitate IP6 or dual-stack (IP6/IP4) network communications

top

DESCRIPTION

No description.

top