In your previous mail you wrote:
> => no, there are some codes which are written without switches.
of course there are. RFC 2553 has been written in order to minimize the
need for those switches.
> Of course they work only on systems where IPv6 is fully integrated.
i don't think so.
=> but we are sating the same thing. Perhaps we have different meanings
for "integration"?
switches are necessary in many cases (especially when
you want the same code to work on a traditional ipv4 system that uses
gethostby{name,addr} and on a new ipv6-compliant system which uses
get{addr,name}info).
> => I have ported many applications to IPv6 on BSD systems without
> the problems you seemed to have encountered...
it depends from the application and the policy of the programmer.
i prefer not to modify existing ipv4 code (for compatibility with older
systems), so i generally use A LOT of switches. i also try to be careful
when handling common ipv6/ipv4 cases, and this make my work a little
harder.
=> I have the opposite policy so results are different. My target is
integrated systems where IPv6 is *not* optional, no more than IP is!
i have seen that many programmers find difficult the process of porting
their apps to ipv6. i think that we should write a small informational
document that explains how to write good ipv6-compliant code.
itojun's "Implementing AF-indipendent apps" is a very good document.
however, it is obsolete and it doesn't give many informations.
=> I have done one but it is more than obsolete now. But my target
is not AF-independence, it is IP version independence, even if a true
AF independence (i.e. codes which can work with ISO CLNP) is a plus.
Regards
[EMAIL PROTECTED]
PS: codes full of switches are at least unreadable...
--------------------------------------------------------------------
IETF IPng Working Group Mailing List
IPng Home Page: http://playground.sun.com/ipng
FTP archive: ftp://playground.sun.com/pub/ipng
Direct all administrative requests to [EMAIL PROTECTED]
--------------------------------------------------------------------