|
|
HP-UX IPv6 Porting Guide: HP-UX 11i v2 September 2004Chapter 14 Verifying IPv6 Installation |
|
The following code fragment shows how an application can determine programmatically whether IPv6 is implemented on HP-UX. An application can check the existence of the /dev/ip6 device file at compile-time and/or run-time to determine whether IPv6 APIs and the IPv6 stack are on the system. If /dev/ip6 does not exist, an application continues to use IPv4 APIs.
|
|