Network Working Mode; Tcp Server Mode; Tcp Client Mode; Udp Server Mode - Ebyte NE2-D11 Manual

Serial-ethernet serial server
Table of Contents

Advertisement

Chengdu Ebyte Electronic Technology Co., Ltd.

4.2 Network working mode

4.2.1 TCP Server Mode

TCP Server is a TCP Server. In TCP Server mode, the device monitors the local port, accepts
the connection request from the client and establishes a connection for data communication, which is
usually used for communication with TCP clients in LAN. As a server mode, the device supports 5
client connections, and if two Sockets start the server mode at the same time, it can support 10 client
connections.
When the Modbus gateway function is turned off, the device sends the data received by the
serial port to all the client devices connected with the device, and supports the connection of 5 clients
at most. After the Modbus gateway function is enabled, the non-Modbus data will be cleared and not
forwarded.

4.2.2 TCP Client Mode

The TCP Client is a TCP Client. When the device works, it will initiate a connection request to
the server and establish a connection, which is used to realize the interaction between serial port data
and server data.
Using the client needs to configure the IP address/domain name of the target accurately, and the
target port.
Note: The local port for client mode is recommended to be 0 (dynamic port).

4.2.3 UDP Server Mode

UDP Server means that the device does not verify the source IP address of data when
communicating with UDP protocol. After receiving a UDP data packet, it saves the source IP address
and source port of the data packet and sets it as the target IP and port, so the data sent by the device
only sends the data packet to the source IP address and port where the device received the data last
time.
This mode is usually used in scenarios where multiple network devices communicate with this
Copyright © 2012-2024,
Chengdu Ebyte Electronic Technology Co., Ltd.
NE2-D11/NE2-D12 User Manual
18

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ne2-d12

Table of Contents