beautypg.com

Tcp client mode, Udp mode – Moxa Technologies NE-4100 User Manual

Page 29

background image

NE-4100 Series User’s Manual

Choosing the Proper Operation Mode

4-3

TCP Client Mode

In TCP Client mode, NE-4100 Series boards
can actively establish a TCP connection to a
pre-defined host computer when serial data
arrives.

After the data has been transferred, NE-4100
Series boards can automatically disconnect from
the host computer by using the TCP alive check
time
or Inactivity time settings. Refer to the
following chapters for more details.

As illustrated in the figure, data transmission
proceeds as follows:

1. The NE-4100 Series board running TCP

Client Mode actively establishes a
connection based on the conditions set in the
firmware. You can let the NE-4100 board
connect to a remote host on start up, or
connect later when data from serial device
arrives.

2. Once the connection is established, data can

be transmitted in both directions—from the
host to the NE-4100 board, and from the
NE-4100 board to the host.

UDP Mode

Compared to TCP communication, UDP is
faster and more efficient. In UDP mode,
you can multicast data from the serial
device to multiple host computers, and the
serial device can also receive data from
multiple host computers, making this mode
ideal for message display applications.