Community
Participate
Working Groups
As noted in both MSDN [1] and in Linux libc man pages [2], the gethostbyname() functions are deprecated and applications should be ported to use getaddrinfo() instead. [1] https://msdn.microsoft.com/en-us/library/ms738524(VS.85).aspx [2] http://man7.org/linux/man-pages/man3/gethostbyname.3.html The primary reason for this is that some implementations of gethostbyname() function do not support IPv6 (Windows in particular does not and the libc interface does not guarantee it) so in order to get full support of IPv4 and IPv6, applications should instead use getaddrinfo(). gethostbyname is used in at least the following places: core/org.eclipse.ptp.proxy/src/proxy_tcp_clnt.c core/org.eclipse.ptp.proxy/src/proxy_tcp_svr.c