Mats Erik Andersson <[email protected]> writes:

> Dear fellow members,
>
> I am about to migrate IU-syslogd into supporting IPv6.
> With that aim in view I need to know whether I may discard
> gethostbyaddr(3) completely in favour of getnameinfo(3)
> in all cases, i.e., also when "!HAVE_IPV6"?

I say go for it.  It is best to have no HAVE_IPV6 tests at all, and just
move that stuff down into gnulib.

> Likewise for gethostbyname(3) versus getaddrinfo(3).
> The change would streamline the code better.
>
> In other words, are there any systems at whom GNU Inetutils
> is targeted, and which still lack access to getnameinfo(3)
> and getaddrinfo(3)?

If there are, we should handle them through gnulib.

It is very cool to see your progress in this area!

/Simon

Reply via email to