Calls the remote procedure associated with the clnt parameter.
C Library (libc.a)
enum clnt_stat clnt_call (clnt, procnum, inproc, in, outproc, out, tout)
CLIENT * clnt;
char * in;
char * out;
struct timeval tout;
The clnt_call macro calls the remote procedure associated with the client handle pointed to by the clnt parameter.
|clnt||Points to the structure of the client handle that results from a Remote Procedure Call (RPC) client creation subroutine, such as the clntudp_create subroutine that opens a User Datagram Protocol/Internet Protocol (UDP/IP) socket.|
|procnum||Identifies the remote procedure on the host machine.|
|inproc||Specifies the procedure that encodes the procedure's parameters.|
|in||Specifies the address of the procedure's arguments.|
|outproc||Specifies the procedure that decodes the procedure's results.|
|out||Specifies the address where results are placed.|
|tout||Sets the time allowed for results to return.|
This macro is part of Base Operating System (BOS) Runtime.
The callrpc subroutine, clnt_perror subroutine, clnttcp_create subroutine, clntudp_create subroutine.
List of RPC Programming References.
Remote Procedure Call (RPC) Overview for Programming and Sockets Overview in AIX 5L Version 5.1 Communications Programming Concepts.