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

Chapter 3 103
NetIPC Intrinsics
IPCRECV
and updated (with the “more data” flag off or on) when IOWAIT
completes. The
data
parameter will then contain the data received.
Only one nowait receive may be outstanding on a single connection.
The returned
dlen
parameter (or the IOWAIT
tcount
parameter in the
case of a nowait request) shows how many bytes of data were actually
received in the
data
parameter. This amount may be different from
what you requested. If you did not receive all the data you want, you
can obtain the additional data in a subsequent IPCRECV call. For more
information, see the discussion of “Sending and Receiving Data Over a
Connection” in Chapter 1 , “NetIPC Fundamentals,” and the
programmatic examples in Chapter 4 , “NetIPC Examples.”
Condition codes returned by this intrinsic are:
• CCE — Succeeded.
• CCL — Failed.
• CCG — Not returned by this intrinsic.
This intrinsic can be called in split stack mode.
Protocol-Specific Considerations
The following Table 3-7 outlines parameters that are specific to the
particular protocol you are accessing.
Table 3-7 IPCRECV Protocol Specific Parameters
Parameters TCP X.25
flags
16 No output flag n/a
25 n/a Discarded
26 More data More data
opt
5 n/a CUD field
144 n/a Bit 18: state of D bit in
X.25 packets
Bit 19: state of Q bit in
X.25 packets
Bit 27: urgent data
145 n/a Facility field