Ethernet to 485/232 E810-DTU User ManualCopyright ©2012–2017,成都亿佰特电子科技有限公司 10Figure 5 TCP Server(1) In TCP Server mode, E810-DTU monitors the local port, receiving and establishing a connection for data communication when a connection request is sent. Whenthe E810-DTU serial port receives data, it will transmit data to all client devices which established a connection with the E810-DTU.(2) It is usually used for communication with TCP clients in the LAN. Suitable for scenarios where there is no server in the LAN and there are many computers orcellphones requesting data from the server. There is difference between connection and disconnection like TCP Client to ensure the reliable exchange of data.(3) When the E810-DTU is a TCP Server, it can connect at most six clients, the local port number is a fixed value and cannot be set to 04.2. TCP Client characteristicsFigure 6 TCP Client(1) TCP Client provides Client connectivity for TCP network services. Proactively initiates connection requests to the server and establishes connections for theinteraction of serial data and server data. According to the relevant TCP protocol, there is difference between connection and disconnection to ensure the reliable exchange ofdata. It is normally used for data exchange between devices and servers and it is the most commonly used networking communication method.(2) In TCP Client mode, when the E810-DTU attempts to connect to the server and the local port is 0, it initiates a connection with a random port each time.(3) This mode supports short connection function。(4) In the same LAN, if the E810-DTU is set to static IP, please keep the E810-DTU IP and gateway in the same network segment and set the gateway IP correctly,otherwise it cannot communicate normally.4.3. UDP Server characteristics