From: Klemens Nanni Subject: Re: w(1): get rid of inet_aton To: Florian Obser Cc: tech Date: Mon, 19 Aug 2024 06:49:15 +0000 18 авг. 2024 г. 17:04:07 Florian Obser : > inet_aton(3) is not a good interface to figure out if something looks > like an IP address and a reverse DNS lookup should be performed. > > The modern way to do this is to chain getaddrinfo(3) with > getnameinfo(3). As a bonus this gives us reverse lookup for IPv6, too. OK kn