-
Notifications
You must be signed in to change notification settings - Fork 13
3.2 Transport Protocols
Christian Kater edited this page Feb 14, 2019
·
1 revision
In this library the mapping from the DCPLib logic to the transport protocol is called driver. It includes functionalities like sending & reciving, aswell as setting endpoints in the corresponding transport protocols.
The struct DCPDriver contains all callbacks necessary for the logic to operate with the driver. For all implmenetation a DCPDriver object can be retrieved by calling getDcpDriver.
DCPDriver driver = driverClassInstance.getDCPDriver();
To include the driver class use the following table:
| Driver | Include |
|---|---|
| UDP | <dcp/driver/ethernet/udp/UdpDriver.hpp> |
| TCP | <dcp/driver/ethernet/udp/TcpDriver.hpp> |