|
|
HP-UX IPv6 Porting Guide: HP-UX 11i v2 September 2004Chapter 10 Converting Binary and Text Addresses |
|
The IPv4 function calls convert IPv4 addresses as follows: The inet_aton() or inet_addr() functions convert dotted-decimal string (such as 10.9.8.7) to 32-bit binary in network byte order. inet_ntoa() converts 32-bit network byte order binary into dotted-decimal string (such as 10.9.8.7). Two new IPv6 functions convert both IPv4 and IPv6 addresses. |
|