The test scene decribed as below: One phone connects to the IPV6 environment which supports NAT64 ,and it will access a IPV4 server(Dot-decimal notation format like x.x.x.x but not domain name) As the purpose, we need to get a IPV6 address which embed IPV4 address(server address),so we use getaddrinfo to do this thing but as the result we can't get the correct IPV6 address. and we could not send any packet out. PS:Use gethostbyname2 fucntion also does not work. Does someone know how to handle this case in c layer or can we do it via java class?
-- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. To post to this group, send email to android-developers@googlegroups.com. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/e9ec84f6-723c-4d99-85de-8b3db11991d3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.