VMS Help  —  TCPIP Services, Programming Interfaces, RPC Portmapper Routines, pmap_getmaps_vms
    Returns a copy of the current port mappings on a remote host
    running TCP/IP Services software.
    Format
      #include  <rpc/pmap_clnt.h>
      struct pmaplist_vms  *pmap_getmaps_vms(struct sockaddr_in
                           *addr);

1  –  Arguments

 addr
    A pointer to a sockaddr_in structure containing the Internet
    address of the host whose Portmapper you wish to call.

2  –  Description

    This routine is similar to the pmap_getmaps routine. However,
    pmap_getmaps_vms also returns the process identifiers (PIDs) that
    are required for mapping requests to TCP/IP Services hosts.

3  –  Return Values

    struct pmaplist *  A pointer to the returned list of server-to-
                       port mappings on host addr.
    NULL               Indicates failure.
Close Help