Udp Client Function; Udp Server Function - Ebyte E180-DTU User Manual

Wireless modem
Hide thumbs Also See for E180-DTU:
Table of Contents

Advertisement

Chengdu Ebyte Electronic Technology Co.,Ltd
number of connections can be customized). The local port number is a fixed value and cannot be set to 0.
(4) TCP Server can set the maximum number of connections. When the maximum number of connections is
reached, user can choose to kick off the old connection or prohibit the establishment of new connections according to
the configuration through commands.

3.2.4 UDP Client Function

(1) UDP Client is a disconnected transmission protocol that provides transaction-oriented simple and unreliable
information transmission services. There is no connection establishment and disconnection, only the IP and port are
required to send data to each other. Usually used for data transmission scenarios where there is no requirement for packet
loss rate, data packets are small and transmission frequency is fast and data is to be transmitted to the specified IP.
(2) In UDP Client mode, E180-DTU (ZG120-ETH) only communicates with the target port of the target IP. If the
data is not from this channel, it will not be received by E180-DTU (ZG120-ETH).
(3) In UDP Client mode, if the destination address is set to 255.255.255.255, it can achieve the effect of UDP broadcast
on the entire network segment, and it can also receive broadcast data. E180-DTU (ZG120-ETH) module supports
broadcasting within the network segment , such as xxx.xxx.xxx.255 broadcast mode.

3.2.5 UDP Server Function

(1) UDP Server means that the source IP address is not verified on the basis of ordinary UDP. After receiving a UDP
data packet, the destination IP is changed to the data source IP and port number. When sending data, send to the IP and
port number of the most recent communication.
(2) This mode is usually used for data transmission scenarios where multiple network devices need to communicate
with the module and do not want to use TCP due to the fast frequency.
Note: UDP Server cannot send data actively. Only after receiving the data can it send data to the IP and port that have
Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co.,Ltd.
E180-DTU(ZG120-ETH)User Maunel

Advertisement

Table of Contents
loading

This manual is also suitable for:

Zg120-eth

Table of Contents