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

178 AppendixA
IPC Interpreter (IPCINT)
Sample IPCINT Session
In the example, the statement, “No address in CUD” refers to the fact
that you requested full access to the CUD.
(4) N
Source socket desc (32 bit integer/C/D/V): [RETURN]
Destination desc (32 bit integer /C/D/V): [RETURN]
No address in CUD (Y/N)? Y
Call User Data (128 chars):hFCAA0001
Facility name (8 chars): [RETURN]
Special Facility Field (109 chars):[RETURN]
-----> Executing : IPCCONNECT
VC = 7
No address in CUD
Step 5 Execute IPCRECV by entering R at the prompt to receive the response to
the previous connection request.
The default value for the VC socket descriptor is the value returned in
the last IPCCONNECT (or in the case of an incoming call, by IPCRECVCN).
This value is the default for any subsequent IPCSEND or IPCRECV calls.
To use default values, press
[RETURN]. Buffer length (
dlen
) 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.
(5) 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 = 0
BUFFER = ''
Note that there is no data returned in “Buffer” because the function of
this call to IPCRECV is to accept the connection request from the remote
node.
Step 6 Execute a call to IPCSEND by entering S at the prompt.
Enter a value for the buffer length. IPCINT will send a string of
characters equal to the number of bytes specified. If you enter 0 for
buffer length, you will be prompted to enter the contents of the data you
are sending. You can specify up to 80 characters of data. At the Buffer
prompt enter the data to send. In this example, 'Hello from local' is
entered.
Pressing
[RETURN] at the VC socket desc prompt which default to the
VC socket descriptor returned by the previous call to IPCCONNECT (in
this example). To use default values, press
[RETURN]. Q bit set and D