EasyManua.ls Logo

ZLAN 5143D - TCP Client Mode

ZLAN 5143D
66 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Shanghai ZLAN Information Technology Co., Ltd Tel: +86-17321037177 http://www.zlmcu.com
30
server for TCP/IP communication, and the serial port server will transfer the
TCP/IP data to the serial port data and send it to the serial port device.
Generally, users of this kind of usage develop the network communication
software of upper computer by themselves and integrate the analysis of the serial
communication protocol of the equipment. This method is more flexible and
efficient than virtual serial port. Correspond to (6) and (7) in table 6.
In the section of "6.4 TCP Communication Test", it mainly introduces how to
communicate when the serial port server is a TCP server. Here you will learn
about TCP clients, UDP mode, and how multi-TCP connections communicate with
computer software. The computer software takes SocketTest (the software that
imitates the user's TCP/IP to communicate) as an example.
ZLAN serial port server is in compliance with the standard TCP/IP protocol, so any
network terminal that conforms to the protocol can communicate with the serial
port server. ZLAN technology provides the network debugging tool (SocketDlgTest
program) to simulate the network terminal to communicate with the serial port
server.
For two network terminals (in this case, the network debugging tool and the serial
port server) to be able to communicate, the configuration of the parameters must
be matched.
5.2.1 TCP Client Mode
There are two operating modes under TCP mode: TCP Server and TCP
Client. No matter which mode is adopted, one side must be the Server
side and the other side the Client side. Then the Client side can access
the Server side.
When the serial port server is the Client, there must be three
corresponding relationships, as shown in figure 20. 1) working mode
correspondence: the working mode of the serial port server is the Server
mode corresponding to the Client mode of the network tool; 2) IP address

Related product manuals