
USR-K6 User Manual www.usriot.com
Jinan USR IOT Technology Limited 27 / 107 [email protected]
4.2.2.
TCP Server
Diagram 4.2.2-1 TCP Server
1)
In TCP Server Mode, K6 listens local port, it will response and establish a connection when there is a request. When
the K6 receive the data, it will send it to all the client connected to K6, meanwhile, this mode can monitor the connect
timely with keepalive function.
2)
Usually it is used in the LAN communicating with TCP client. Adopt the case that more than one PC or phone asking
data without server. Same as the TCP client ,there are different between connect and disconnect.
3)
Support synchronizing baud rate.
4)
TCP Client number is from 1 to 16, default value 4. the port is fixed., can not be set to 0.
5)
If the number of the TCP client is more than 16, default kick the old one, and this function can be set via webpage.
6)
TCP server example
①
Set K6 as a TCP server via software setting, local port is 20108, then save. Also you can set via webpage.