CANFDNET-400U
High-Performance Four-Channel CANFD Bus-to-Ethernet Converter User Manual
©2021 Guangzhou ZLG Electronics Technology Co.,Ltd.
14
User Manual
4.3 UDP Mode
Figure 4.3 UDP mode communication
In UDP mode, the UDP protocol is used for data communication. UDP is a
non-connection-based communication method. It cannot guarantee that the data packets
sent to the target host will be received correctly. Therefore, in the scenarios with high
reliability requirements, the upper-layer communication protocol must be used to ensure
that the data is correct; however, because UDP is a simple communication method, it will
not increase too much additional communication volume, and can provide a higher
communication speed than the TCP method to ensure the real-time transmission of data
packets. In fact, when the network environment is simple and the network communication
load is not too large, the UDP working method is not error prone. The devices working in
this mode are equal, and there is no server and client. Figure 4.3 shows the
communication process.
Tip
: In this mode, CANET-8E-U uses "working port (see Table 6.1)" to receive UDP
packets sent by user equipment; the data received by the CAN port of the
CANET-8E-U device will be sent to the "destination port (see Table 6.1)" of six groups
of valid "destination IP (see Table 6.1)".