Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought




getrpcport(3N) getrpcport(3N)
NAME getrpcport - gets a Remote Procedure Call (RPC) port number SYNOPSIS int getrpcport(host, prognum, versnum, proto) char *host; int prognum, versnum, proto; DESCRIPTION getrpcport returns the port number for version versnum of the RPC program prognum running on the host host and using protocol proto. getrpcport returns 0 if it cannot contact the portmapper, or if prognum is not registered. If prognum is registered but not with version versnum, getrpcport returns the port number for that version, which indicates that the program is indeed registered. The version mismatch is detected when the first call is made to the service. January 1992 1

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026