Tcp Client - Ebyte E830 Series User Manual

Ethernet switch quantity i/o controller, data acquisition module
Table of Contents

Advertisement

Chengdu Ebyte Electronic Technology Co., Ltd.
(1) TCP server is TCP server. In TCP server mode, E830-DIO (ETH-2A) listens to the local port, receiving and
establishing a connection for data communication when a connection request is sent. After establishing the connection,
the client sends the request in Modbus protocol, E830-DIO (ETH-2A) receives the response, and returns the
corresponding response data to the client.
(2) Usually used for communication with TCP clients in the LAN. Suitable for scenarios where there is no server
in the LAN and there are multiple computers or mobile phones requesting data from the server. As with the TCP Client,
there are differences between connection and disconnection to ensure reliable data exchange.
(3) When the E830-DIO(ETH-2A) works as a TCP Server,
port number is a fixed value and cannot be set to 0.

4.2 TCP Client

(1) TCP Client provides client connections for TCP network services. Initiatively initiates connection requests to
the server and establishes connection to realize the interaction between serial data and server data. According to the
relevant provisions of the TCP protocol, TCP Client is the difference between connection and disconnection, so as to
ensure reliable exchange of data. It is commonly used for data exchange between devices and servers and is the most
commonly used networking communication method.
(2) E830-DIO (ETH-2A) attempts to connect to the server in the TCP Client mode and the local port is 0, each time
a random port initiates the connection.
(3) This mode supports short connection function.
(4) In the same LAN, if E830-DIO (ETH-2A) is set to static IP, please keep IP and gateway of E830-DIO (ETH-2A)
in the same segment, and set the gateway IP correctly, otherwise it will not communicate properly.
Copyright ©2012–2019, Chengdu Ebyte Electronic Technology Co.,Ltd.
it can accept 6 Client connections at most, the local
Figure 4-3 TCP Client
E830-DIO(ETH-2A) User Manual
12

Advertisement

Table of Contents
loading

This manual is also suitable for:

E830-dio

Table of Contents