akr d808918583 deprecate TCPSocket.gethostbyname.
TCPSocket.gethostbyname has problems similar to
Socket.gethostbyname.

An example of the problem which only the address family of
the first address is returned:

```
pp TCPSocket.gethostbyname("www.wide.ad.jp")
#=> ["www.wide.ad.jp",
      [],
      10,
      "2001:200:dff:fff1:216:3eff:fe4b:651c",
      "203.178.137.58"]
```

The address family of the first address, AF_INET6 (10), is
returned but
the address family of the second address, AF_INET, is not
returned.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60319 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-10-21 23:19:47 +00:00
..
2017-08-16 09:37:03 +00:00
2017-10-21 14:19:23 +00:00
2017-09-30 08:35:23 +00:00
2017-09-29 13:21:17 +00:00
2017-09-27 05:08:53 +00:00
2017-10-21 23:19:47 +00:00
2017-09-27 05:08:53 +00:00
2017-09-15 23:46:46 +00:00
2017-10-21 12:12:52 +00:00
2017-10-07 02:23:27 +00:00
2017-09-03 13:31:34 +00:00
2017-04-20 08:21:24 +00:00