Listens for and handles remote procedure call packets.
void rpc_$listen (max_calls, status) unsigned long max_calls; status_$t *status;
The rpc_$listen routine dispatches incoming remote procedure call requests to manager procedures and returns the responses to the client. You must issue an rpc_$use_family or rpc_$use_family_wk routine before you use the rpc_$listen routine.
Note: This routine is used by servers only.
Output | |
---|---|
status | Points to the completion status. |
This routine normally does not return.
To have a server listen for incoming remote procedure call requests, enter:
rpc_$listen(5, &status);
Note: The max_calls parameter, which is set at 5 in the example, is insignificant because this implementation of NCS does not support concurrent processes. The parameter is provided for compatibility with other implementations.
This Library Routine is part of Network Computing System in Network Support Facilities in Base Operating System (BOS) Runtime.
Remote Procedure Call (RPC) Runtime Library (NCS) in AIX Version 4.3 Communications Programming Concepts.