Maps a remote procedure call to a port.
#include <rpc/rpc.h>
pmap_set (prognum, versnum, protocol, port) u_long prognum, versnum, protocol; u_short port;
The pmap_set subroutine acts as a user interface to the portmap daemon to map the program number, version number, and protocol of a remote procedure call to a port on the machine portmap daemon.
Note: The pmap_set subroutine is called by the svc_register subroutine.
Upon successful completion, this routine returns a value of 1. If unsuccessful, it returns a value of 0.
This subroutine is part of Base Operating System (BOS) Runtime.
The portmap daemon.
The pmap_getmaps subroutine, pmap_unset subroutine, svc_register subroutine.
TCP/IP Protocols in AIX Version 4.3 System Management Guide: Communications and Networks.
List of RPC Programming References.
Remote Procedure Call (RPC) Overview for Programming in AIX Version 4.3 Communications Programming Concepts.