Returns a list of the current Remote Procedure Call (RPC) program-to-port mappings on the host.
#include <rpc/rpc.h>
struct pmaplist *pmap_getmaps (addr) struct sockaddr_in *addr;
The pmap_getmaps subroutine acts as a user interface to the portmap daemon. The subroutine returns a list of the current RPC program-to-port mappings on the host located at the Internet Protocol (IP) address pointed to by the addr parameter.
Note: The rpcinfo -p command calls this subroutine.
addr | Specifies the address where the machine's IP address is placed. |
If there is no list of current RPC programs, this procedure returns a value of null.
This subroutine is part of Base Operating System (BOS) Runtime.
The pmap_set subroutine, pmap_unset subroutine, svc_register subroutine.
The rpcinfo command.
The portmap daemon.
List of RPC Programming References.
Remote Procedure Call (RPC) Overview for Programming in AIX Version 4.3 Communications Programming Concepts.