|
PROFINET IO Controller Stack 1.0.0
Modern C++ implementation of a PROFINET IO Controller stack
|
Abstraction for IPv4 UDP datagram transport. More...
#include <chrono>#include <cstddef>#include <cstdint>#include <string>#include <vector>
Include dependency graph for IUdpSocket.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| struct | profinet::UdpEndpoint |
| Portable IPv4 UDP endpoint. More... | |
| struct | profinet::UdpDatagram |
| A UDP datagram together with the IPv4 address of its sender. More... | |
| class | profinet::IUdpSocket |
| Abstract interface for IPv4 UDP datagram transport. More... | |
Namespaces | |
| namespace | profinet |
Abstraction for IPv4 UDP datagram transport.
Provides the transport boundary between PROFINET protocol implementations and the underlying IPv4 UDP socket.
The interface supports both connected UDP communication and the connectionless receive/send-to behavior required by listeners that must receive datagrams from arbitrary peers and reply to the sender.
This separation allows protocol components to be unit tested without creating operating-system UDP sockets or binding real network ports.
Implementations are responsible for managing socket ownership and translating operating-system socket errors into the project's socket exception types.
Definition in file IUdpSocket.h.