PMAPPROC_SET Specification - Set Mapping
- mapping mapping;
- bool ret_value;
- bool PMAPPROC_SET(mapping) = 1;
When a program first becomes available on a machine, it registers itself with the port mapper program on the same machine. The program passes its program number, mapping.prog, version number, mapping.vers, transport protocol number, mapping.prot, and the port, mapping.port, on which it awaits service request. The procedure returns a boolean response whose value is TRUE if the procedure successfully established the mapping, and FALSE otherwise. The procedure refuses to establish a mapping if one already exists for the tuple "(prog, vers, prot)".
Contents | Next section | Index |