
ShenZhen Comark Technology Co.,Ltd.
Serial Server and Gateway User Manual
Page 16
2.3.2 TCP Client Mode
Configure the TCP client mode parameters as shown in the following illustration:
As a TCP client side, the device proactively connects to TCP/IP network devices on Ethernet, such as PCs.
You need to tell the device which network address and TCP port number to connect when the condition meets.
When the socket is established, the device will send the data received from the corresponding serial port through
the socket, conversely, the data received from the socket will be sent to the corresponding serial port.
For TCP client settings options: Remote port, IP address configuration options are interpreted as follows:
【
Remote Port
】
The TCP port number to which the device connects. (
For multiple serial devices different serial ports need to
set a different remote port number
)
【
IP Address
】
The IP address or domain name address that the device connects to, both of which correspond to the host
address on the Internet.
The software parameter configuration diagram is as follows: (The device actively connects the PC so the
protocol selects TCP server, IP for PC 192.168.1.110, port number for the device remote port number 30000)