Dear diary, on Fri, Jul 22, 2005 at 11:35:17PM CEST, I got a letter where "YOSHIFUJI Hideaki / ?$B5HF#1QL@" <[EMAIL PROTECTED]> told me that... > In article <[EMAIL PROTECTED]> (at Fri, 22 Jul 2005 23:21:51 +0200), Petr > Baudis <[EMAIL PROTECTED]> says: > > this whole getaddrinfo() magic looks horribly complicated. What's wrong > > on just adding a similar code (or factoring it out to a function) for > > IPv6 as there is for IPv4, just s/INET/INET6/? > > Because it is the Good Way To Go; protocol independent programming.
I can see its merits, and it doesn't look so horrible after a while. ;-) -- Petr "Pasky" Baudis Stuff: http://pasky.or.cz/ If you want the holes in your knowledge showing up try teaching someone. -- Alan Cox - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html