Re: How to determine if IPv6 is installed (using VC++ 6.0)

From: Eugene Gershnik (gershnik_at_hotmail.com)
Date: 01/05/05


Date: Wed, 5 Jan 2005 13:21:37 -0800

Alun Jones [MSFT] wrote:
> Usually, though, the best way of determining if a resource is
> available is to try and use it, and handle the failure response. You'd
> hate to come up with some grandiose scheme to tell if IPv6 is
> installed, and find that your app puts up a dialog box saying "IPv6
> is not installed", when other apps are happily using it, because they
> don't bother to check that way, and simply open and use IPv6 sockets!

That depends. If an application was only tested on a few specific
configurations (and most application are) which can be detected in a certain
way than it is better to try to detect them and at least warn the user. A
better message would be "App X cannot detect a supported version of IPv6. Do
you want to try to connect anyway? WARNING: using an unsupported version of
IPv6 may or may not work yada, yada"
You win two psychological victories this way. First if something doesn't
work the user would at least have some clue and hate your app a little less.
Second if he contacts support he may remeber to mention this message which
would simplify your life immensly.

--
Eugene


Relevant Pages

  • Re: IPV6, Fedora and apps
    ... If the app is written for IPv4 only, it must be modified in order to communicate via IPv6. ... The API is the same, but the semantics differ between IPv4 and IPv6 network programming. ...
    (Fedora)
  • IPv6 and compat_linux
    ... First: IPv6 ... i disabled the ipv6 option in the GENERIC kernel but there are lot of ... doesnt support ipv6 stack. ... but the app doesnt work.. ...
    (comp.unix.bsd.openbsd.misc)
  • How do I convert an IPv4 addres to IPv6 in C#?
    ... My app has so far only encountered IPv4 addresses and I use: ... Can someone please point me to an example of how to turn this into an IPv6 ... Chris Hough ...
    (microsoft.public.dotnet.general)
  • Re: PLUS FEATURE SET.
    ... BGP ... BGP 4 Multipath Support ... IPv6 Access Services: AAA Support for Cisco VSA IPv6 Attributes ... OSPF ABR type 3 LSA Filtering ...
    (comp.dcom.sys.cisco)
  • [PATCH 549] M68k: Update defconfigs for 2.6.12-rc2
    ... +# Linux kernel version: 2.6.12-rc2-m68k ... # Fusion MPT device support ... -# IPv6: Netfilter Configuration ...
    (Linux-Kernel)