IBM CTI 2572 Network Card User Manual


 
CTI 2572 Installation and Operation Guide
32
Offset 0 Error Word - Set to 0 so that any previous error codes are cleared.
Offset 1 Command Code - The Command Code of the C
REATE SOCKET command is 03.
Offset 2 Connection Number - Network Client connection numbers may range from 19221
through 19228. Any connection number within the valid range can be assigned, as
long as the number is unique. Connections can be closed and re-used, if desired. To
help keep track of the connection numbers, you may wish to assign connection
numbers sequentially.
Offset 3 Protocol Manager Number - Protocol Managers control the operation of the serial
and network ports. The Protocol Manager Number for the CAMP Client protocol
manager is decimal 36 (hex 24).
Offset 4 Startup Option Bits - (firmware version 5.0 or greater).
Bits 1 - 14 Bit 15 - IP Address Location Bit 16 - Client Priority
Not Used 0 = Use IP Address in CREATE
SOCKET Command Block.
1 = Use IP Address in M
EMORY
TRANSFER Command Block
(UDP Only)
0 = Normal Priority
1 = High priority
When bit 15 is set to 1 (Offset 4 = 0x0002) and the UDP protocol is selected (in
Offset 5), the Command Blocks used for Memory Transfer (R
EAD REMOTE, WRITE
REMOTE, and MEMORY EXCHANGE) will specify the IP Address and Port Number for
the remote device (See Section
4.4. Memory Transfer Commands.)
This feature allows you to use a single socket to communicate with different remote
devices. When bit 15 is set to 0, the IP address and port number entered in this
C
REATE SOCKET command block will be used. The TCP protocol, since it is
connection-oriented, will always use the IP address and port number in this C
REATE
SOCKET command block. If you select TCP and set bit 15 to 1, the 2572 will return
an error.
NOTE:
Even if you set bit 15 to 1, you still must provide a valid IP address and Port number in the
Command Block of the CREATE SOCKET command. If you dont do this, a Command Error will be
generated when you execute the CREATE SOCKET command.