|
The UDPIOServer is used for sending and/or receiving UDP (User Datagram Protocol) packets containing Signal data.
The UDPIOServer component has the following features:
- Input or output UDP packets are defined by packet descriptions in the component XML file. Signals are created for each item in the packet and routing is done like for other CDP signals.
NOTE: Routing may be set in the UDPIOServer component XML file too, unlike most other IOServers.
- The data in the packets consists of either standard CDP Signals, or registers where each bit may be mapped to either a bool Signal or a component state.
- Send frequency, target address/port, receive port and network interface to use is specified in the XML file.
- Incoming packets may be verified. The default implementation only checks that the packet size is correct. (For more finegrained verification of packets, please refer to the Programmer Manual)
|