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