gethostby* users
Kevin Kofler
kevin.kofler at chello.at
Sat Oct 13 05:20:48 UTC 2007
Richi Plana <myfedora <at> richip.dhs.org> writes:
> I'm just worrying about the different platforms these software are
> expected to run on. According to gethostbyname(3), the function conforms
> to POSIX as well as 4.3BSD so certain platforms might not have support
> for getaddrinfo(). What's the proper way of addressing these?
> Preprocessor directives?
Ideally they'd just drop support for the obsolete systems which don't have
getaddrinfo. Even winsock implements it since XP. And of course all current
POSIX-compliant systems have it as it's part of POSIX.1-2001.
Kevin Kofler
More information about the fedora-devel-list
mailing list