Tcp Server Function - Ebyte E810-DTU User Manual

Ethernet to rs232/rs485/rs422
Hide thumbs Also See for E810-DTU:
Table of Contents

Advertisement

Chengdu Ebyte Electronic Technology Co.,Ltd
(2) When the E810-TTL attempts to connect to the server in TCP Client mode and the local port is 0, the connection is initiated
with a random port each time.
(3) This mode supports the short connection function.
(4) Under the same LAN, if the E810-TTL is set to static IP, please keep the E810-TTL IP and gateway in the same network
segment, and set the gateway IP correctly, otherwise it will not communicate normally.

3.3.2 TCP Server Function

(1) TCP server is TCP server. In the TCP server mode, e810-ttl listens to the local port, accepts and establishes a connection for
data communication when a connection request is sent. When the e810-ttl serial port receives the data, it will send the data to all client
devices that establish a connection with e810-ttl at the same time.
(2) Usually used for communication with TCP client in LAN. It is suitable for the scenario where there is no server in the LAN
and there are many computers or mobile phones requesting data from the server. Like TCP Client, there are differences between
connection and disconnection to ensure reliable data exchange.
(3) When E810-TTL is used as TCP Server, it can accept up to 6 Client connections (the number of connections can be
customized). The local port number is fixed and cannot be set to 0.
(4) TCP Server can set the maximum number of connections. When the number of connections reaches the maximum, it can
choose to kick out the old connections or prohibit the establishment of new connections according to the configuration instructions.
Copyright ©2012–2019, Chengdu Ebyte Electronic Technology Co.,Ltd
E810-DTU(1RS1E) User Manual
8

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents