[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: gethostby* users



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]