PROFINET IO Controller Stack 1.0.0
Modern C++ implementation of a PROFINET IO Controller stack
Loading...
Searching...
No Matches
profinet::UdpDatagram Struct Reference

A UDP datagram together with the IPv4 address of its sender. More...

#include <IUdpSocket.h>

+ Collaboration diagram for profinet::UdpDatagram:

Public Attributes

std::vector< std::uint8_t > data
 Datagram payload.
 
UdpEndpoint source {}
 IPv4 address and UDP port of the datagram sender.
 

Detailed Description

A UDP datagram together with the IPv4 address of its sender.

The source address is returned together with the received payload so that a caller can send a response to the exact endpoint from which the datagram was received.

Note
The source address is only meaningful for datagrams returned by IUdpSocket::RecvFrom().

Definition at line 64 of file IUdpSocket.h.

Member Data Documentation

◆ data

std::vector<std::uint8_t> profinet::UdpDatagram::data

◆ source

UdpEndpoint profinet::UdpDatagram::source {}

The documentation for this struct was generated from the following file: