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

1  –  Arguments

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

2  –  Description

    A client interface to the Portmapper, which returns a list of the
    current ONC RPC program-to-port mappings on the host located at
    the Internet address addr. The SHOW PORTMAPPER management command
    uses this routine.

3  –  Return Values

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