VMS Help
TCPIP Services, Programming Interfaces, RPC Client Routines, get_myaddress

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

    Returns the local host's internet address.
    Format
      #include  <rpc/rpc.h>
      void  get_myaddress(struct sockaddr_in *addr);

  1 - Arguments

 addr
    A pointer to a sockaddr_in structure that the routine will load
    with the internet address of the host where the local procedure
    resides.

  2 - Description

    Puts the local host's internet address into addr without doing
    any name translation. The port number is always set to htons
    (PMAPPORT).

  3 - Return Values

    None
  Close     HLB-list     TLB-list     Help  

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