PMAPPROC_GETPORT Specification - Get Port
- mapping mapping;
- unsigned int port;
- unsigned int PMAPPROC_GETPORT(mapping) = 3;
Given a program number mapping.prog, version number mapping.vers, and transport protocol number mapping.prot, this procedure returns the port number on which the program is awaiting call requests. A port value of zero means the program has not been registered. The mapping.port field of the argument is ignored.