The TCPTEST2.exe is a GW21L and GW21E test program (as a client).

You can keyin the following format to run the program:
        "TCPTEST2.EXE IP_Address Port".
For example:
    "tcptest2 202.39.254.204 4660" is to connected to a server task with
    IP=202.39.254.204 and port=4660 (hex. format: 0x1234).

After connecting to a TCP server task, the received data would be displayed
on screen and the keyin data would be sent to the server task.

You can input binary data by hex. format: "\xx" ('\' is as leading charcater,
'xx' is 2 bytes hex data. For example: "\00" is as a charcater(ASCII code 0),
"\FF" is as a character(ASCII code 255).

If you run the "tcptest2.exe 202.39.254.204 4660" to connect to the Serial
Server,the keyin data will be sent to Serial Server port 1.(RS-232).

If you run the "tcptest2.exe 202.39.254.204 4661" to connect to the Serial
Server, the keyin data will be sent to DAP port 2.(RS-232/RS-485 option)

There is another function specially for GW21 Serial Server. When keyin data
to be sent to the Serial Server, the leading characters '*S2' is used for
sending data to port 2.(RS-485 port)

For example:
       Keyin: "*S2\3A\FC\40Hello" is to send "Hello" message to all slave-
               device connected at converter port 2.
               ('\3A':sub-command, to send display message to slave-device.
                '\FC':sub-node, broadcast to all slave device node(sub-node).
                '\40':function-code, the message is shown at LCD display.
               )

You can use the following command to connect to the Serial Server through 
MODEM.
      
	Keyin: "AT\Od" is to send AT Command to the Modem. In return, the 
		Modem returns "OK\0D\0A" message to the host through the
		Serial Server GW21L or GW21E.

Note: 1. Press the '=' key to exit the program 
