[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home |
Legal |
Search ]
Communications Programming Concepts
List of RPC Programming References
The list includes:
Subroutines and Macros
The list of subroutines and macros is arranged by function:
Authenticating Remote Procedure Calls
RPC provides these subroutines and macros for creating and destroying authentication
information:
Managing the Client
RPC provides subroutines and macros for the following client management
tasks:
Creating an RPC Client for a Remote Program
|
clntraw_create |
Creates a sample RPC client handle for simulation. |
|
clnttcp_create |
Creates a Transmission Control Protocol/Internet Protocol (TCP/IP)
client transport handle. |
|
clntudp_create |
Creates a User Datagram Protocol/Internet Protocol (UDP/IP) client
transport handle. |
|
clnt_create |
Creates a generic client transport handle. |
Changing or Retrieving Client Information
|
clnt_control |
Changes or retrieves information about a client object. |
Destroying a Client RPC Handle
Broadcasting a Remote Procedure Call
|
clnt_broadcast |
Broadcasts a remote procedure call to all network hosts. |
Calling a Remote Procedure
|
callrpc |
Calls the remote procedure on the machine associated with the host parameter. |
|
clnt_call |
Calls the remote procedure associated with the clnt parameter. |
Freeing Memory Allocated by RPC and XDR
Handling Client Errors
Managing the Server
RPC provides subroutines and macros for the following server management
tasks:
Creating an RPC Service Transport Handle
Destroying an RPC Service Transport Handle
Registering and Unregistering RPC Procedures and Handles
Handling an RPC Request
Handling Server Errors
|
svcerr_auth |
Indicates that the remote procedure call cannot be completed due
to an authentication error. |
|
svcerr_decode |
Indicates that the parameters of a request cannot be decoded. |
|
svcerr_noproc |
Indicates that the remote procedure call cannot be completed because
the program cannot support the requested procedure. |
|
svcerr_noprog |
Indicates that the remote procedure call cannot be completed because
the program is not registered. |
|
svcerr_progvers |
Indicates that the remote procedure call cannot be completed because
the program version is not registered. |
|
svcerr_systemerr |
Indicates that the remote procedure call cannot be completed due
to an error not covered by any protocol. |
|
svcerr_weakauth |
Indicates that the remote procedure call cannot be completed due
to insufficient authentication security parameters. |
Using RPC Utilities
|
host2netname |
Converts a host name to a network name. |
|
netname2host |
Converts a network name to a host name. |
|
netname2user |
Converts a network name to a user ID. |
|
user2netname |
Converts a user ID to a network name. |
|
getnetname |
Installs the network name of the caller in the array. |
|
get_myaddress |
Gets the user's IP address. |
|
getrpcent, getrpcbyname, getrpcbynumber, setrpcent, or endrpcent |
Accesses the /etc/rpc file. |
|
rtime |
Returns the remote time in the timeval structure. |
Using DES Interface to the keyserv Daemon
Interfacing to the portmap Daemon
|
pmap_getmaps |
Returns a list of the current RPC port mappings. |
|
pmap_getport |
Requests the port number on which a service waits. |
|
pmap_rmtcall |
Instructs the portmap daemon to make an RPC. |
|
pmap_set |
Maps an RPC to a port. |
|
pmap_unset |
Destroys the mapping between the RPC and the port. |
|
xdr_pmap |
Describes parameters for portmap procedures. |
|
xdr_pmaplist |
Describes a list of port mappings externally. |
Describing and Encoding Remote Procedure Calls
RPC provides subroutines for describing and encoding RPC call and reply
messages, authentication, and port mappings:
Examples
[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home |
Legal |
Search ]