I have a fairly simple game that works perfectly on every version now up through 2.1, but with the new 2.2 (Froyo) release I am unable to create a socket. I am using the mi
this was a bug and has been fixed: http://code.google.com/p/android/issues/detail?id=9431
you should be very careful with the java.net.preferIPv6Addresses workaround, because there are devices and networks where you do want IPv6.
(and, as the original poster found, if you can use io rather than nio, you generally should.)