Tcp Server Function; Udp Client Function - Ebyte E810-DTU User Manual

Can to ethernet dtu
Hide thumbs Also See for E810-DTU:
Table of Contents

Advertisement

Chengdu Ebyte Electronic Technology Co.,Ltd

4.1.8. TCP Server function

(1)In TCP Server mode, E810-DTU (CAN-ETH) monitors the local port, accepts and establishes a connection for
data communication when a connection request is sent.When the E810-DTU (CAN-ETH) serial port receives the data, it
will send the data to all the client devices connected to the E810-DTU (CAN-ETH) at the same time.
(2)It usually used for communication with TCP client in LAN and suitable for scenarios where there are no servers
in the LAN and there are multiple computers or mobile phones requesting data from the server. Like TCP Client, there
are connections and disconnections to ensure reliable data exchange.
(3) When E810-DTU (CAN-ETH) is used as the TCP Server, it can accept up to 6 Client connections (the 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,
you can choose to kick off the old connection or disable the new connection function according to the instruction
configuration.

4.1.9. UDP Client function

(1)UDP Client is a connectionless transmission protocol, which provides simple and unreliable transaction-oriented
information transmission service. There is no connection establishment and disconnection. It only needs to establish IP
and port to send data to each other.It is usually used for data transmission scenarios where the packet loss rate is not
Copyright ©2012–2019, Chengdu Ebyte Electronic Technology Co.,Ltd
E810-DTU(CAN-ETH) User Manual
21

Advertisement

Table of Contents
loading

Table of Contents