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

Chapter 6 Function Calls Converting Names to Addresses

» 

Technical documentation

Complete book in PDF

 » Table of Contents

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

  • getaddrinfo()

  • getipnodebyname()

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