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);
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.
Puts the local host's internet address into addr without doing
any name translation. The port number is always set to htons
(PMAPPORT).
None
[legal]
[privacy]
[GNU]
[policy]
[netiquette]
[sponsors]
[FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.