RS485 TO ETH ( B)
5 . 2 . 3 . TCP SERVER MODE
When the serial port server is used as the server, there are also three corresponding
relationships, as shown in Figure 16, which will not be explained here. After setting, click the
open button of the network tool to establish a TCP connection with the serial server, and then
you can send and receive data after the connection is established.
Figure 16 Serial port server as TCP server
When the serial port server is used as a server, it can accept 30 TCP connections at the same
time. The data received by the serial port will be forwarded to all established TCP connections. If
you need to realize that data is only sent to the TCP that has recently received network packets,
you need to enable the multi-host function, please refer to 7.4 Multi-host function.
5 . 2 . 4 . ACTING AS BOTH A CLIENT AND A SERVER
The serial port server supports the ability to accept TCP connections even when the device
is in the TCP client mode, that is, it also has the TCP server function.
29 / 52 www.waveshare.com