#12166: gethostbyaddr_r missing in revised network code
-------------------------+----------------------------
Reporter: haiqu | Owner: pulkomandy
Type: bug | Status: closed
Priority: normal | Milestone: R1/beta1
Component: - General | Version: R1/Development
Resolution: fixed | Keywords:
Blocked By: | Blocking:
Has a Patch: 0 | Platform: All
-------------------------+----------------------------
Comment (by pulkomandy):
Yes, APR can use getaddrinfo when available (see find_addresses at
http://svn.apache.org/viewvc/apr/apr/trunk/network_io/unix/sockaddr.c?revision=1683521&view=markup).
While checking this I also saw that the gethostbyname_r on Solaris has a
different prototype than the one in Linux. There are versions with 3, 5 or
6 arguments, depending on the system you look at. So this doesn't help
much with portability.
--
Ticket URL: <https://dev.haiku-os.org/ticket/12166#comment:9>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.