Hi,
How about just opening a v6 socket? Something like:
sock = socket(AF_INET6, .....);
If the call works, then you have IPv6; if it fails you probably don't.
-JB-
Affan Ahmed wrote:
>
> hello,
> just wanted to know if there was some simple programming API or piece
> of code that i can use to figure out if the system that i am on
> currently suppots IPv6 or not.
>
> Regards
> Affan
>
> __________________________________________________
> Do you Yahoo!?
> Faith Hill - Exclusive Performances, Videos & More
> http://faith.yahoo.com
> ---------------------------------------------------------------------
> The IPv6 Users Mailing List
> Unsubscribe by sending "unsubscribe users" to [EMAIL PROTECTED]
--
-JB-
#############################################################
H
(==)o(==) H John Bartas - Main Propeller head
_I_ H InterNiche Technologies Inc. (408) 257-8014 x219
/ \ H 1340 S. DeAnza Blvd. Suite 102
----- H San Jose CA 95129
O O H [EMAIL PROTECTED]
" H www.iniche.com
\___/ H
---------------------------------------------------------------------
The IPv6 Users Mailing List
Unsubscribe by sending "unsubscribe users" to [EMAIL PROTECTED]