PROFINET IO Controller Stack 1.0.0
Modern C++ implementation of a PROFINET IO Controller stack
Loading...
Searching...
No Matches
IRawEthernetSocket.h File Reference

Abstraction for sending and receiving raw Ethernet frames. More...

#include <chrono>
#include <cstdint>
#include <vector>
+ Include dependency graph for IRawEthernetSocket.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  profinet::IRawEthernetSocket
 Abstract interface for raw Ethernet frame transport. More...
 

Namespaces

namespace  profinet
 

Detailed Description

Abstraction for sending and receiving raw Ethernet frames.

Provides the transport boundary between PROFINET protocol implementations and the underlying raw Ethernet socket.

Protocol components such as the cyclic controller, DCP implementation, and alarm listener should depend on this interface instead of directly depending on operating-system socket APIs.

This separation allows protocol logic to be unit tested independently from the network interface and allows the production socket implementation to be replaced by a test double.

Definition in file IRawEthernetSocket.h.