VMS Help
TCPIP Services, Programming Interfaces, RPC Portmapper Routines, pmap_getmaps_vms

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

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