picolibrary

UDP Over IP Facilities

UDP over IP facilities are defined in the include/picolibrary/ip/udp.h/source/picolibrary/ip/udp.cc header/source file pair.

Table of Contents

  1. Port
  2. Endpoint
  3. Socket

Port

The ::picolibrary::IP::UDP::Port type alias is used to store a UDP port. See the ::picolibrary::IP::Port documentation for more information.

Endpoint

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.

Reception Result

The ::picolibrary::IP::UDP::Reception_Result struct is used to store a UDP reception result.

Socket

The ::picolibrary::IP::UDP::Socket_Concept concept class defines the expected interface of a UDP over IP socket.

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.