mn_basic_ip6_socket.hpp
Go to the documentation of this file.
This class represents an internet (IP) version 6 host address.
Definition: mn_basic_ip6_address.hpp:49
This class represents an IPv6 endpoint/socket address.
Definition: mn_basic_ip6_endpoint.hpp:41
This class represents an internet (IP) version 6 host socket.
Definition: mn_basic_ip6_socket.hpp:33
endpoint_type * get_local()
Get the local endpoint.
Definition: mn_basic_ip6_socket.hpp:108
virtual basic_ip_socket * get_copy()
Get a copy of this socket.
Definition: mn_basic_ip6_socket.hpp:134
virtual void swap(basic_ip6_socket &rhs) noexcept
Definition: mn_basic_ip6_socket.hpp:136
basic_ip6_socket(handle_type &hndl, basic_ip6_endpoint *endp=nullptr) noexcept
Construct the wrapper class from a given lwip socket handle and the endpoint.
Definition: mn_basic_ip6_socket.cpp:29
basic_ip6_address ipaddress_type
Definition: mn_basic_ip6_socket.hpp:37
endpoint_type * m_pEndPoint
A saved / cached copy of the endpoint on binde the socket.
Definition: mn_basic_ip6_socket.hpp:144
basic_ip6_endpoint endpoint_type
Definition: mn_basic_ip6_socket.hpp:36
typename basic_ip_socket::handle_type handle_type
Definition: mn_basic_ip6_socket.hpp:35
endpoint_type * get_endpoint(bool local)
Get the local or remote ip endpoint.
Definition: mn_basic_ip6_socket.cpp:62
bool get_peername(endpoint_type &endpoint)
Get the remote endpoint.
Definition: mn_basic_ip6_socket.cpp:160
endpoint_type * get_remote()
Get the remote endpoint.
Definition: mn_basic_ip6_socket.hpp:113
bool bind(basic_ip6_endpoint local_ep)
Bind the socket on the given endpoint (ip and port)
Definition: mn_basic_ip6_socket.cpp:91
Wrapper class around lwip implementation of a socket.
Definition: mn_basic_socket.hpp:54
virtual void swap(basic_ip_socket &rhs) noexcept
Definition: mn_basic_socket.hpp:136
struct mn::memory::detail::ptr_difference type
protocol_type
Defines socket protoco types for creating.
Definition: mn_net_types.hpp:60
socket_type
Defines socket socket types for creating.
Definition: mn_net_types.hpp:99
Definition: mn_allocator_typetraits.hpp:25