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: http://www.ntp.org/ => a blank page?
    ... At the app level, ... getaddrinfowhich is used by all newer apps returns both IPv4 and IPv6 ... You might want to spend a little time curling up with RFC 3484, ... DNS makes no ...
    (comp.protocols.time.ntp)
  • Re: http://www.ntp.org/ => a blank page?
    ...  At the app level, ... getaddrinfowhich is used by all newer apps returns both IPv4 and IPv6 ... You might want to spend a little time curling up with RFC 3484, ... results Martin saw that only machines with IPv6 global addresses were ...
    (comp.protocols.time.ntp)
  • Re: http://www.ntp.org/ => a blank page?
    ... though the DNS server first returns an IPv4 ... At the app level, ... a name indicating both IPv4 and IPv6 addresses are desired, ...
    (comp.protocols.time.ntp)
  • Re: [PHP] $_SERVER["REMOTE_ADDR"] returning ::1
    ... Request it with an IPv6 domain/IP and REMOTE_ADDR will also be IPv6. ... This app uses this test to insure that the page being processed came from the same machine as was used to login to the app. ... If you really need to use IP then you can probably rely on it not switching between v4 and v6 if you're not using localhost. ... using the real ip addr solved my problem as far as my test install is concerned. ...
    (php.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)