ubergeek42/weechat-android — pull request #54 by mhoran (2012-10-04 03:12:58+00:00)
Title: Let the OS determine whether to use IPv6 or IPv4

InetAddress.getByName will return an IPv6 address if a AAAA record
exists regardless of whether or not the OS supports IPv6. Instead, let
the Socket figure out which address to use.

Fixes a crash when an AAAA record exists for the host but the device
does not have IPv6 connectivity.