USR-N668 User Manual Technical Support:
Jinan USR IOT Technology Limited
www.usriot.com
23
Figure 26 TCP Client work mode
1) TCP Client provides client connection for TCP network services. Initiatively connection requests to the server and
establishes connections to achieve serial numbers interaction with server data. According to the relevant provisions of
the TCP protocol, TCP Client is the difference between connection and disconnection, so as to ensure data reliable
exchange. Usually used for data interaction between devices and servers, is the most commonly used network
communication mode.
2) The pattern has the function of actively identifying connection anomalies. When the connection is established,
several “Keep Alive” are sent after 60 seconds of no data for the first time .If the connection is abnormal interruption, it
will be immediately detected, and prompted 668 to disconnect the original connection and reconnect (The formula is
60 + 5*3 = 75 s).
3) This model supports synchronous baud rate function, USR-cloud function and short connection function.
4) In the same LAN, if 668 is set to static IP, keep 668 IP and gateway in the same network segment, and set gateway IP
correctly, otherwise it will not be able to communicate properly.
5) When 668 work as TCP Client, you need to pay attention to target IP / domain name and target port number. If you
connect a server across a public network, the server must has public network IP or domain name.
6) When 668 work as TCP Client, the local port NO. suggest to set to 0, so that 668 can access the server with random
port number.
7) TCP Client communication examples
① work mode :TCP Client, IP: 192.168.0.201, teleport: 20001 .Then save parameters and restart.