HP-UX 11i Version 2 Release Notes (October 2003)

Internet and Networking
Networking libc APIs getipnodebyname() and getipnodebyaddr()
Chapter 6
168
Compatibility
There are no compatibility issues.
Performance
A timeout delay can be noticed due to the additional lookup by the getaddrinfo() and
getnameinfo() functions.
Documentation
The following manpages have been modified:
getaddrinfo (3N)
getnameinfo (3N)
gethostent (3N)
Obsolescence
Not applicable.
Networking libc APIs getipnodebyname() and
getipnodebyaddr()
The C library, libc, provides the interface between the user program and the kernel.
The getipnodebyname() libc function performs the translation from nodename to IP
address using the policy specified in the /etc/nsswitch.conf file. The
getipnodebyaddr() libc function performs the translation from IP address to
nodename using the policy specified in the /etc/nsswitch.conf file.
Summary of Change
HP-UX 11i v2 is the last operating system supporting the libc APIs
getipnodebyname() and getipnodebyaddr() and may be removed in future releases.
Impact
You are discouraged from using the libc APIs getipnodebyaddr() and
getipnodebyname() in your applications. Instead, you can use the libc APIs
getaddrinfo() and getnameinfo() which support the same functionality.
1
Compatibility
There are no compatibility issues.
1. See “Networking libc APIs getaddrinfo() and getnameinfo()” on page 167.