On Mon, Oct 03, 2011 at 11:58:08AM -0700, Gé Weijers wrote: > > > On Mon, 3 Oct 2011, Lluís Batlle i Rossell wrote: > > >Additionally, I don't know how portable it is to use always getaddrinfo > >(POSIX-2001?) while requiring C89. > > C89 does not address networking, so this issue is unrelated to C89. > If getaddrinfo is not supported on a platform that uses the socket > API it may be time to move away from it :-(
:) I agree. I was just wondering, how old (or simple) systems/compilers we expect fossil to build on. > The only extra complexity it adds is that a server has to be able to > listen to multiple sockets. Some OSes may give you a single socket > that can handle both IPv4 and IPv6 connections, and others will not. I know I know. But posix allows a 'setsockopt' to force it do both ipv4 and ipv6 in the same socket, isn't it? Different OSes have different 'defaults' for that though. Regards, Lluís. _______________________________________________ fossil-users mailing list [email protected] http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

