[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: gethostby* users
- From: Kevin Kofler <kevin kofler chello at>
- To: fedora-devel-list redhat com
- Subject: Re: gethostby* users
- Date: Sat, 13 Oct 2007 05:20:48 +0000 (UTC)
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
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]