GETRPCPORT(3N) — Series 300 Only
NAME
getrpcport − get RPC port number
SYNOPSIS
int getrpcport(host, prognum, versnum, proto)
char *host;
int prognum, versnum, proto;
DESCRIPTION
The getrpcport function returns the port number for version versnum of the RPC program prognum running on host and using protocol proto. It returns 0 if it cannot contact portmap or if prognum is not registered. If prognum is registered but not with version versnum, it returns the port number of the last registered (prognum, proto) pair.
AUTHOR
Sun Microsystems, Inc.
SEE ALSO
INTERNATIONAL SUPPORT
8-bit data, 16-bit data, messages
Hewlett-Packard Company — May 11, 2021