Moxa Technologies UC-7420/7410 Network Card User Manual


 
UC-7420/7410 User’s Manual Getting Started
2-20
NOTE The tcps2.c application is a simple example designed to give users a basic understanding of the
concepts involved in combining Ethernet communication and serial port communication.
However, the example program has some limitations that make it unsuitable for real-life
applications.
1. The serial port is in canonical mode and block mode, making it impossible to send data from
the Ethernet side to the serial side (i.e., from PC 2 to PC 1 in the above example).
2.
The Ethernet side will not accept multiple connections.