Martin v. Loewis
Sun, 24 Jun 2001 10:34:06 +0200
The IPv6 patch proposes to introduce a new socket function,
socket.gethostbyname2(name, af). This becomes necessary as a name
might have both an IPv4 and an IPv6 address.
One alternative for providing such API is to get socket.gethostbyname
an optional second argument (the address family). itojun's rationale
for calling it gethostbyname2 is that the C API, as defined in RFC
Which of these alternatives would you prefer?