Network Serial Port
Network Serial Port
This section describes how to configure your Ethernet Adapter as a network serial port.
Connection to a network serial port is accomplished over a TCP/IP socket connection. Any program that uses standard TCP/IP network sockets may be used to communicate with the serial port of the Ethernet Adapter. Once a socket is established to the Ethernet Adapter, any data written to the socket will be sent out the serial port of the Ethernet Adapter. At the same time, any data received by the serial port of the Ethernet Adapter will be returned via the socket connection.
The Ethernet Adapter network serial port may be used in two modes:
∙TCP Listen Passthrough. In the TCP Listen Passthrough mode, the Ethernet Adapter waits for a socket connection to be made by the network program with which it will communicate, before any serial communication is possible. For example, TCP Listen Passthrough should be used if you have a central server that expects to open a TCP/IP socket connection to the Ethernet Adapter.
∙TCP Connect Passthrough. In the TCP Connect Passthrough mode, the Ethernet Adapter will establish a socket connection to the IP address and port number specified in the configuration. For example, TCP Connect Passthrough should be used if your system expects the Ethernet Adapter to open a TCP/IP socket connection to a central server.
Network Serial Port Configuration
To configure your Ethernet Adapter as a network serial port, perform the following steps:
1)Complete the configuration of the Basic Radio settings as described in Chapter 4.
2)Complete the Network Configuration described in Chapter 4.
3)Complete the General Serial Configuration described in Chapter 5.
4)Click on the Serial tab, and then select the Protocol tab. TCP Listen Passthrough and TCP Connect Passthrough will appear among the protocol choices displayed. Continue following the instructions below for the mode of your choice, TCP Listen Port Configuration or TCP Connect Port.