Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
registerrpc() z/OS Communications Server: IP Programmer's Guide and Reference SC27-3659-02 |
|
Format
Parameters
UsageThe registerrpc() call registers
a procedure (prognum, versnum, procnum)
with the local portmapper, and creates a control structure to remember
the server procedure and its XDR routine. The control structure is
used by svc_run(). When a request arrives for the program (prognum,
versnum, procnum), the procedure procname is
called. Procedures registered using registerrpc() are accessed using
the UDP transport layer.
Note: xdr_enum() cannot be used as an argument
to registerrpc(). See xdr_enum() for more
information.
Requirement: When
your application registers with rpcbind rather than with portmapper,
the following requirements apply:
Return codesThe value 1 indicates success; the value -1 indicates an error. Context
|
Copyright IBM Corporation 1990, 2014
|