laduramvishnoi / kryonet

Automatically exported from code.google.com/p/kryonet
0 stars 0 forks source link

Kryonet No longer works with Android 2.2 #3

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In android 2.2 java.nio.channels.Selector has changed.  For it to work in 2.2 
you need to add this just above selector = Selector.open();  (line 104 in rev 
55)

System.setProperty("java.net.preferIPv6Addresses", "false");

This was tested in cyanogenmod6 on a nexus one, the above line fixed the 
problem. 

Original issue reported on code.google.com by darre...@gmail.com on 20 Jul 2010 at 5:17

GoogleCodeExporter commented 9 years ago
Thanks darrellt, fixed in r56.

Original comment by nathan.s...@gmail.com on 20 Jul 2010 at 5:50