pmap_set
Name
pmap_set -- Establishes mapping to machine's RPC Bind service.
Synopsis
#include <rpc/pmap_clnt.h> |
*pmap_set
(__const u_long
program, __const u_long
version, int
protocol, u_short
port);
Description
pmap_set
establishes a mapping between the
triple [program,version,protocol] and
port on the machine's RPC Bind
service. The value of protocol
is most likely IPPROTO_UDP or IPPROTO_TCP. Automatically done by svc_register
.
Return Value
pmap_set
returns 1 if it suceeds, 0 otherwise.