HPlogo HP-UX IPv6 Porting Guide: HP-UX 11i v2 September 2004

Chapter 7  Function Calls Converting IP addresses to Names

» 

Technical documentation

Complete book in PDF

 » Table of Contents

The existing gethostbyaddr() function still looks up IPv4 host names for particular addresses. However, this library call function cannot specify address types such as IPv6 or IPv4-mapped. Two new name lookup functions are:

  • getnameinfo(3N)

  • getipnodebyaddr(3N)

© 2004 Hewlett-Packard Development Company, L.P.