Tcp Server Mode Characteristic; Tcp Client Mode Characteristic - Ebyte E810 User Manual

Hide thumbs Also See for E810:
Table of Contents

Advertisement

Chengdu Ebyte Electronic Technology Co., Ltd.
E810-DTU(4RS1E) User Manuel

4.1. TCP Server Mode characteristic

Diagram 4-2 TCP Server
(1) TCP Server is TCP server. In TCP Server mode, E810 (4RS1E) monitors the local port. It accepts and establishes a connection
for data communication when there is a connection request. When E810 (4RS1E) serial port receives data, it will send the data to
all client device that have established the connection with it.
(2) It is usually used for communication with TCP clients in LAN. It is applicable for the scenario where there is no server in
LAN and there are multiple computers or mobile phones requesting data from the server. Like TCP Client, there are differences
between connection and disconnection to ensure reliable exchange of data.
(3) When E810 (4RS1E) is used as TCP Server, it can accept a maximum of 6 Client connections. The local port number is a fixed
value and cannot be set to 0.

4.2. TCP Client Mode characteristic

Diagram 4-3 TCP Client
(1) TCP Client provides client connection for TCP network services, actively initiate a connection request to the server and
establish a connection, which is used to implement serial port data and server data interaction. According to the relevant
provisions of TCP protocol, TCP Client is distinguished from connected and disconnected, thereby ensuring reliable exchange of
data. It is usually used for data interaction between the device and the server and the most commonly used network
communication method.
(2) When E810 (4RS1E) attempts to connect to the server in TCP Client mode and the local port is 0, the connection is initiated
through a random port each time.
(3) This mode supports short connection function.
10
Copyright ©2012–2017,Chengdu Ebyte Electronic Technology Co., Ltd.

Advertisement

Table of Contents
loading

This manual is also suitable for:

E810-dtu4rs1e

Table of Contents