NetIPC 3000/XL Programmer's Reference Manual (5958-8600)

Table Of Contents
Chapter 3 115
NetIPC Intrinsics
IPCSEND
IPCSEND
Sends data on a connection.
Syntax
IPCSEND (
vcdesc
,
data
,
dlen
[,
flags
][,
opt
],
result
)
Parameters
vcdesc
(input)
32-bit integer, by value. The VC socket descriptor, a
number identifying the VC socket belonging to this
process through which the data will be sent.
data
(input)
Record or byte array, by reference. Contains the
data to be sent or a list of data descriptors (maximum of
two) indicating the locations from which the data will
be gathered. If data descriptors are used, flags [31]
must be set to indicate vectored sends. For
programming in “C” language, see Appendix E , “C
Program Language Considerations.
dlen
(input)
32-bit integer, by value. The byte length of the data
parameter: that is, the amount of actual data
(maximum of 30,000) or the combined length of the
data descriptors. The data descriptor length is 8 for
compatibility mode and 12 for native mode. The
combined length is 16 for compatibility mode and 24 for
native mode.
flags
(input)
32 bits, by reference. A bit representation of various
options. The only flag defined is:
flags [31] — vectored input. Indicates that the data
to be sent are to be gathered from the addresses
specified in the data parameter. (The parameter will
not contain actual data.)
opt
(input)
Record or byte array, by reference. A list of options,
with associated information. Refer to “Common
Parameters” for more information on the structure of
this parameter. The following options are defined: