23035ca68d
for numeric addresses but for DNS lookup returned pointer to whole sockaddr_in or sockaddr_in6. getaddrinfo() should be preferred in a long term perspective. Return of complete addresses from the lookup would be better in such case but it requires significant changes anyway - multiple addresses support and most probably dynamic memory allocation which is bad for many RT applications. So gethostbyname() is sufficient for most applications now. Signed-off-by: Pavel Pisa <ppisa@pikron.com> |
||
---|---|---|
.. | ||
lib_dns.h | ||
lib_dnsclient.c | ||
lib_gethostbyaddr.c | ||
lib_gethostbyaddrr.c | ||
lib_gethostbyname.c | ||
lib_gethostbynamer.c | ||
lib_netdb.c | ||
lib_netdb.h | ||
lib_parsehostfile.c | ||
Make.defs |