Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Parameterport
TypeNumeric
Value

The TCP/IP port number for the virtual serial line. A virtual serial line always listens on this port for incoming connection requests.

If multiple virtualized machines are running on a server, ensure the port number is unique across the platform.

application

Parameterapplication
TypeText string
Value

A command line for calling some application for communication to CHAARON on the given line.

Example:

set OPA0 application = "xterm -title OPA0 -e telnet 127.0.0.1 10003"

Notes on "host", "port" and "

...

application"

...

parameters


  1. Use the combination of "port", "host" and "hostapplication" parameters as follows to connect a 3rd party terminal emulator or similar program.

    load virtual_serial_line TTA0 host="192.168.1.1" port=10000set COM1 alias=OPA0 port=10003 application="xterm -title OPA0 -e chterm -h 127.0.0.1:10003"

    In this example CHARON-AXP OPA0 console connects to port 10000 of a host with TCP/IP address "192.168.110003 of localhost ("127.0.0.1") and at the same time it accepts connections on local port 10000.starts "xterm" with parameters "-title OPA0 -e chterm -h 127.0.0.1:10003", instructs it to connect to the port 10003 of the host with TCP/IP address "127.0.0.1" (localhost)

         

  2. It is possible to specify a port on a remote host (note that CHARON always acts as a server). The syntax is:

    load virtual_serial_line TTA0 hostset COM2 alias=TTA0 host="192.168.1.1:20000" port=10000

    In this example CHARON-AXP accepts connection on local port 10000 and connects to remote port 20000 of a host with TCP/IP address "192.168.1.1"

...

Example of two CHARON systems connected to each other:

On host "A":

load virtual_serial_line TTA0 portset COM2 alias=TTA0 port=5500 host="B"

On host "B":

load virtual_serial_line TTA0 portset COM2 alias=TTA0 port=5500 host="A"

On these two hosts, executing CHARON-AXP, the two TTA0 lines connect to each other, thus creating a "serial" cable between the two emulated Alphas. The sequential order in which the instances of CHARON-AXP are started makes no difference.

...