On Sat, 23 Jun 2001, Francis Dupont 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. 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 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.
--
Aequam memento rebus in arduis servare mentem...
Mauro Tortonesi [EMAIL PROTECTED]
Ferrara Linux User Group http://www.ferrara.linux.it
Project6 - IPv6 for Linux http://project6.ferrara.linux.it
--------------------------------------------------------------------
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]
--------------------------------------------------------------------