VMS Help
TCPIP Services, Programming Interfaces, RPC Portmapper Routines, pmap_getmaps_#

 *Conan The Librarian (sorry for the slow response - running on an old VAX)

    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 wish 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     HLB-list     TLB-list     Help  

[legal] [privacy] [GNU] [policy] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.