[kaffe] java.net.InetAddress.getAllByName returns wrong value for localhost
kaz at maczuka.gcd.org
Wed Sep 10 15:58:02 PDT 2003
>>>>> "*" == Ito Kazumitsu <kaz at maczuka.gcd.org> writes:
*> It does not throw exception now. But I would like to get
*> localhost/127.0.0.1 rather than localhost/::::::::1 .
*> I do not see why getHostByName returns an IPV6 address.
Because getaddrinfo() returns both IPv4 and IPv6 addresses
for "localhost" and IPv6 first.
More information about the kaffe