Chengdu Ebyte Electronic Technology Co., Ltd.
NB144 User Manual
Copyright ©2012
,
Chengdu Ebyte Electronic Technology Co., Ltd.
18
4.4.2 TCP Client
TCP Client is the TCP client. When the device is working, it will actively initiate a connection
request to the server and establish a connection to realize the interaction between serial port data and
server data.
To use the client, you need to configure the IP address/domain name and target port of the target
accurately .
4 channels can independently open 4 TCP clients.
4.4.3 UDP Server
UDP Server means that the device does not verify the source IP address of the data when using the
UDP protocol to communicate. After receiving a UDP data packet, it saves the source IP address and
source port of the data packet, and sets it as the target IP and port . , so the data sent by the device
only sends data packets to the source IP address and port where the device received data last time .
This mode is usually used in scenarios where multiple network devices communicate with this
device, and the frequency is high, and the TCP Server cannot meet the conditions.
Using UDP Server requires the remote UDP device to send data first, otherwise the data cannot be
sent normally.
[Note] In UDP mode, the data sent by the network to the device should be less than 5 12B it per packet, otherwise it
will cause data loss .
4.4.4 UDP Client
UDP Client is a connectionless transmission protocol that provides transaction-oriented simple and
unreliable information transmission services. There is no connection establishment and
disconnection, and data can be sent to the other party only by configuring the destination IP and
destination port. It is usually used in the data transmission scenario where there is no requirement for
the packet loss rate, the data packet is small and the sending frequency is fast, and the data is to be
transmitted to the specified IP.
In UDP Client mode, the device will only communicate with the configured (target IP and target port)
remote UDP device .
In this mode, the destination address is set to 255.255.255.255, and the sending data will be