From jeroen @end|ng |rom berke|ey@edu  Tue Jun  1 14:38:11 2021
From: jeroen @end|ng |rom berke|ey@edu (Jeroen Ooms)
Date: Tue, 1 Jun 2021 14:38:11 +0200
Subject: [Rd] Patch: port getbyhostname to getaddrinfo
Message-ID: <CABFfbXu-0q6TOg=50B+qqPWF2TXNNOenyMgW72bjNTz8R739zQ@mail.gmail.com>

Perhaps now that nanohttp has been removed, it is a good time to do
some related cleanups.

In both Linux and Windows, gethostbyname and gethostbyaddr are marked
as obsolete. POSIX.1-2008 removes the specifications of
gethostbyname(), gethostbyaddr(), and h_errno, recommending the use of
getaddrinfo(3) and getnameinfo(3) instead.

Webview: https://github.com/r-devel/r-svn/pull/42/files
Patch: https://github.com/r-devel/r-svn/pull/42.diff



[Rd] Patch: port getbyhostname to getaddrinfo
Jeroen Ooms