NetIPC 3000/XL Programmer's Reference Manual (5958-8600)
Table Of Contents
- 1 NetIPC Fundamentals
- 2 Cross-System NetIPC
- 3 NetIPC Intrinsics
- 4 NetIPC Examples
- A IPC Interpreter (IPCINT)
- B Cause and Diagnostic Codes
- C ErrorMessages
- D Migration From PTOP to NetIPC and RPM
- E C Program Language Considerations

Appendix A 177
IPC Interpreter (IPCINT)
Sample IPCINT Session
Step 3 Execute the IPCDEST intrinsic by entering DEST at the prompt. You are
prompted for the remote Node name (
location
) where the destination
socket will be created. In this example, RAINBOW is used. If you leave the
node name prompt blank, you will be prompted for the remote X.25
address expressed in hexadecimal.
Enter a protocol relative address (
protoaddr
) in the decimal range
30767 to 32767 for the remote address. In this example, 31000 is used.
The IPCDEST intrinsic is executed and a destination descriptor
(
destdesc
) will be returned in pseudovariable “D”.
(3) DEST
Node name (50 chars): RAINBOW
Protocol relative address (16 bit integer): 31000
-----> Executing : IPCDEST
DEST = - 1
Step 4 In order to execute this step, the remote node server program or IPCINT
must have already executed an IPCCREATE followed by an
IPCRECVCN. The remote waits for the local to send the connection
request. NetIPC provides a timeout so the IPCRECVCN will not wait
indefinitely.
Execute IPCCONNECT by entering CN at the prompt. You are prompted
for the call socket descriptor. To use the default, press
[RETURN] which
is the value returned in pseudovariable “C” by the previous call to
IPCCREATE.
You are prompted for the destination socket descriptor. To use the
default, press
[RETURN] which is the value returned in pseudovariable
“D” by the previous call to IPCDEST.
You are prompted for access to the call user data (CUD) field (
opt
144,
protocol flags, bit 17). In this example, Y (yes) is entered. Selecting “yes”
allows you to enter up to 128 bytes of user data at the Call User Data
(128 chars) prompt (
opt
code 2).
Next, you are prompted for a facility set name (
opt
code 142). To use
the default configured for you network, press
[RETURN].AttheSpecial
Facility Field (
opt
code 145) prompt, enter up to 109 characters
representing additional features to be added to the facility set. Press
[RETURN] for no additions to the facility field.
The IPCCONNECT intrinsic is executed and a virtual socket descriptor is
returned.