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 179
IPC Interpreter (IPCINT)
Sample IPCINT Session
bit set (
opt
code 144, bit 19 and bit 18) are defaulted to no (N). Data
offset (
opt
code 8) defaults to none.
(6) S
Buffer length (bytes): 0
Buffer: 'Hello from local'
Connect socket desc (32 bit integer /C/D/V): [RETURN]
Q bit set (Y/N): [RETURN]
D bit set (Y/N)? [RETURN]
Data offset (bytes): [RETURN]
-----> Executing : IPCSEND
In order for the remote node to receive the sent data, an IPCRECV must
be executed from the remote node with IPCINT (or a server program).
Step 7 Before executing step 7, the remote must execute IPCSEND data to the
local node (see step 6, IPCSEND).
Execute IPCRECV to receive data by entering R at the prompt. Step 7
assumes a remote node using IPCINT has sent you a message.
Press
[RETURN] to use the default VC socket descriptor (
vcdesc
). To use
default values, press
[RETURN]. Buffer length defaults to 4096 bytes.
Preview data and Destroy data (flags 30 and 29) default to no (N).
Data offset (
opt
code 8) is defaulted to none.
Values returned by IPCRECV include data sent from the remote
displayed at the prompt: Buffer = (data), length of the received data
(dlen), and the buffer length input displayed as MAX_LEN (
dlen
, from
input).
(7) R
Connect socket desc (32 bit integer /C/D/V: [RETURN]
Buffer length (bytes): [RETURN]
Preview data (Y/N)? [RETURN]
Destroy data (Y/N)? [RETURN]
Data offset (bytes): [RETURN]
-----> Executing : IPCRECV
MAX_LEN = 4096
RECV_LEN = 17
BUFFER = 'Hello from remote'
Step 8 Execute IPCSHUTDOWN to shutdown the socket by entering SHUT at the
prompt.
At the descriptor prompt, enter a descriptor (C, D or V) in order to
indicate which socket needs to be shutdown. In this example, the VC
socket descriptor, V is entered.
You are prompted for a reason code (
opt
code 143). In this example, 100
is entered which will cause a clear packet to be sent. The clear packet
will contain a cause code zero (0), and diagnostic code 100. (IPCCONTROL
is used to access cause and diagnostic codes.)