On Jun 29, 2:45 am, guru <[email protected]> wrote: > Hi All > > In Eclair code base under dalvik/vm/Properties.c I am seeing > java.net.preferIPv6Addresses set to true. > With this If i run CTS test cases all related to socket address and > local address are failing. > > Is this means that phone is not supporting ipv6?
hard to be sure without seeing the actual failures but a kernel that doesn't support IPv6 is probably the most likely cause. > If i make java.net.preferIPv4Stack to true all CTS cases are getting > passed. > > My understanding from the above is if we want to support IPv6 then we > have to make it to true. it depends what you mean by "support". you can grep through libcore to see where these properties take effect. preferIPv6Addresses basically just affects the sorting of addresses returned by DNS lookups. if true, they're sorted before IPv4 addresses; if false, they're sorted after IPv4 addresses. preferIPv4Stack doesn't do much on Android, at least not in froyo. > In Donut this flag is not set and also > java.net.preferIPv4Stack. IPv6 support gets better with every release. iirc, donut had very little IPv6 support... > I am not getting in Donut code where one of these flags are set and > when? ...and these system properties were not set in donut. (nor do i think that setting them would do anything useful.) --elliott > Please redirect me if this is not correct group to ask this question. > > Thanks > Gururaja B O -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting
