UDP over IP facilities are defined in the
include/picolibrary/ip/udp.h
/source/picolibrary/ip/udp.cc
header/source file pair.
The ::picolibrary::IP::UDP::Port
type alias is used to store a UDP port.
See the ::picolibrary::IP::Port
documentation for more information.
The ::picolibrary::IP::UDP::Endpoint
type alias is used to store a UDP endpoint (IP
address, UDP port pair).
See the ::picolibrary::IP::Endpoint
documentation for more
information.
The ::picolibrary::IP::UDP::Reception_Result
struct is used to store a UDP reception
result.
The ::picolibrary::IP::UDP::Socket_Concept
concept class defines the expected interface
of a UDP over IP socket.
bind()
member
function.local_endpoint()
member function.transmit()
member function.receive()
member function.close()
member function.The ::picolibrary::Testing::Automated::IP::UDP::Mock_Socket
mock UDP over IP socket
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/udp.h
/source/picolibrary/testing/automated/ip/udp.cc
header/source file pair.
The ::picolibrary::Testing::Interactive::IP::UDP::echo()
interactive test helper is
available if the PICOLIBRARY_ENABLE_INTERACTIVE_TESTING
project configuration option is
ON
.
The interactive test helper is defined in the
include/picolibrary/testing/interactive/ip/udp.h
/source/picolibrary/testing/interactive/ip/udp.cc
header/source file pair.