6.9.4 Examples

Example 1:

Define 3088 CTC adapters on device addresses 0400 and 0401. The device/protocol type is CTCT
(Channel-to-Channel emulation via TCP connection). The local TCP ports on which Hercules will listen
are 30880 and 30881. The IP address of the remote host is 192.168.100.2, the remote ports are also
30880 and 30881. The buffer size for the link is 2048 KB.

0400.2 3088 CTCT 30880 192.168.100.2 30880 2048

or

0400 3088 CTCT 30880 192.168.100.2 30880 2048
0401 3088 CTCT 30881 192.168.100.2 30881 2048

6.9.5 CTCE (Enhanced Channel-to-Channel emulation via TCP
Connection)

6.9.5.1 Function

The CTCE device type will emulate a real 3088 Channel-to-Channel Adapter also for non-IP traffic, en-
hancing the CTCT capabilities. CTCE connections are also based on TCP/IP between two (or more)
Hercules instances, and requires an even-odd pair of port numbers per device side.

Only the even port numbers are to be configured; the odd numbers are just derived by adding 1 to the
configured even port numbers. The socket connection pairs cross-connect, the arrows are showing the
the send -> receive direction:

InstanceA-lport-even -> InstanceB-rport-odd
InstanceB-lport-odd <- InstanceA-rport-even


CTCE connected Hercules instances can be hosted on either Unix or Windows platforms, both sides do
not need to be the same.

6.9.5.2 Syntax

Descriptive

CTC lport raddress rport [mtu [sml]]

Diagram

Êʬ¬¬ ¬¬¬ CTC ¬¬¬ lport ¬¬¬ raddress ¬¬¬ rport ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬Ê

ʬ¬¬§¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬§¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ÊÍ


mtu ¬¬¬§¬¬¬¬¬¬¬¬¬¬¬«



sml

devaddr

This is the device address.

CTCE

This specifies the device/protocol type.

lport

Specifies the even TCP/IP port on the local system.

raddress

Specifies the TCP/IP address of the remote system.

rport

Specifies the even TCP/IP port on the remote system.

mtu

Optional MTU buffer size. The default size is 32778.

sml

Optional small minimum for the MTU buffer size. The default size is 8.

6.9.5.3 Examples

Example 1:

Define a 3088 CTC connection with the CTCE protocol between two Hercules instances. Instance A is
using address 192.168.1.100, Instance B is using address 192.168.1.200.


Definitions on Hercules Instance A with IP address 192.168.1.100:

0E40 CTCT 30880 192.168.1.200 30880
0E41 CTCT 30882 192.168.1.200 30882


Definitions on Hercules Instance B with IP address 192.168.1.200:

0E40 CTCT 30880 192.168.1.100 30880
0E41 CTCT 30882 192.168.1.100 30882

Previous Page Next Page