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

Table Of Contents
84 Chapter3
NetIPC Intrinsics
IPCCREATE
IPCCREATE
Creates a call socket for the calling process.
Syntax
IPCCREATE (
socketkind
[,
protocol
][,
flags
][,
opt
],
calldesc
[,
result
])
Parameters
socketkind
(input)
32-bit integer, by value. Indicates the type of socket
to be created. The only type that a user process may
create is: 3 = call socket. It is used for sending and
receiving connection requests.
protocol
(input)
32-bit integer, by value. Indicates the protocol
module which the calling process wishes to access. If
the value is zero or if this parameter is not specified,
the TCP module is chosen by default. The protocols
currently available to user processes are:
0 = Default protocol. The current default is TCP. The
recommended value for programs using IPCNAME
and IPCLOOKUP is 0 rather than 4 for TCP.
2 = X.25 protocol
4 = TCP (Transmission Control Protocol)
flags
(input)
32 bits, by reference. A bit representation of various
options. The following option is defined:
flags [0] (input). TCP only. Makes the newly created
socket a “protected” socket. A protected socket is one
which only a privileged user may create or use.
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 available:
maximum connection requests queued (option
code=6, length=2, 2-byte integer) (input). Used to
specify the maximum number of unreceived