IP facilities are defined in the
include/picolibrary/ip.h/source/picolibrary/ip.cc
header/source file pair.
The ::picolibrary::IP::Address class is used to store an IP address.
::picolibrary::IP::Address::version()
member function.::picolibrary::IP::Address::is_unspecified() member function.::picolibrary::IP::Address::is_ipv4() member function.::picolibrary::IP::Address::is_any() member function.::picolibrary::IP::Address::is_loopback() member function.::picolibrary::IP::Address::is_multicast() member function.::picolibrary::IP::Address::ipv4() member
function.::picolibrary::IP::Address automated tests are defined in the
test/automated/picolibrary/ip/address/main.cc
source file.
::picolibrary::Output_Formatter is specialized for ::picolibrary::IP::Address.
The ::picolibrary::Output_Formatter<::picolibrary::IP::Address> specialization does not
support user formatting configuration.
::picolibrary::Output_Formatter<::picolibrary::IP::Address> automated tests are defined
in the
test/automated/picolibrary/ip/address/main.cc
source file.
A std::ostream insertion operator is defined for ::picolibrary::IP::Address if the
PICOLIBRARY_ENABLE_AUTOMATED_TESTING project configuration option is ON.
The insertion operator is defined in the
include/picolibrary/testing/automated/ip.h/source/picolibrary/testing/automated/ip.cc
header/source file pair.
The ::picolibrary::IP::Port class is used to store a protocol port.
::picolibrary::IP::Port::min() static member
function.::picolibrary::IP::Port::max() static member
function.::picolibrary::IP::Port::any() static member function.::picolibrary::IP::Port::is_any() member function.::picolibrary::IP::Port::as_unsigned_integer() member function.::picolibrary::IP::Port automated tests are defined in the
test/automated/picolibrary/ip/port/main.cc
source file.
::picolibrary::Output_Formatter is specialized for ::picolibrary::IP::Port.
The ::picolibrary::Output_Formatter<::picolibrary::IP::Port> specialization does not
support user formatting configuration.
::picolibrary::Output_Formatter<::picolibrary::IP::Port> automated tests are defined in
the
test/automated/picolibrary/ip/port/main.cc
source file.
A std::ostream insertion operator is defined for ::picolibrary::IP::Port if the
PICOLIBRARY_ENABLE_AUTOMATED_TESTING project configuration option is ON.
The insertion operator is defined in the
include/picolibrary/testing/automated/ip.h/source/picolibrary/testing/automated/ip.cc
header/source file pair.
The ::picolibrary::IP::Endpoint class is used to store a protocol endpoint (IP address,
protocol port pair).
::picolibrary::IP::Endpoint::address() member
function.::picolibrary::IP::Endpoint::port() member
function.::picolibrary::IP::Endpoint automated tests are defined in the
test/automated/picolibrary/ip/endpoint/main.cc
source file.
::picolibrary::Output_Formatter is specialized for ::picolibrary::IP::Endpoint.
The ::picolibrary::Output_Formatter<::picolibrary::IP::Endpoint> specialization does not
support user formatting configuration.
::picolibrary::Output_Formatter<::picolibrary::IP::Endpoint> automated tests are defined
in the
test/automated/picolibrary/ip/endpoint/main.cc
source file.
A std::ostream insertion operator is defined for ::picolibrary::IP::Endpoint if the
PICOLIBRARY_ENABLE_AUTOMATED_TESTING project configuration option is ON.
The insertion operator is defined in the
include/picolibrary/testing/automated/ip.h/source/picolibrary/testing/automated/ip.cc
header/source file pair.
The ::picolibrary::IP::Network_Stack_Concept concept class defines the expected
interface of an IP network stack.
The ::picolibrary::IP::Network_Stack_Concept concept class is defined in the
include/picolibrary/ip/network_stack.h/source/picolibrary/ip/network_stack.cc
header/source file pair.
make_tcp_client() member function.make_tcp_server() member function.make_udp_socket()
member function.The ::picolibrary::Testing::Automated::IP::Mock_Network_Stack mock IP network stack
class is available if the PICOLIBRARY_ENABLE_AUTOMATED_TESTING project configuration
option is ON.
The mock is defined in the
include/picolibrary/testing/automated/ip/network_stack.h/source/picolibrary/testing/automated/ip/network_stack.cc
header/source file pair.