android-developers
[Arriba] [Todas las Listas]

[android-developers] Cómo para apoyar dual stack en android? El getaddr

To: Android Developers <android-developers@xxxxxxxxxxxxxxxx>
Subject: [android-developers] Cómo para apoyar dual stack en android? El getaddrinfo error de regreso cuándo accedemos ipv4 server en ipv6 red.
From: peng x <xpeng@xxxxxxxxxxxxxx>
Date: Thu, 31 Aug 2017 02:20:48 -0700 (PDT)
Delivery-date: Thu, 31 Aug 2017 05:21:51 -0400
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:date:from:to:message-id:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=6LMRsupEo3arKJcWl1m/0k8ZF/KxteRhgYHu5fMQDXE=; b=tDfrOx7cDfmRKnqSxgs8nwEC61x+15M3yd6iiCiEWssQiRdSQj86lzM5aiNSQkivAj dSYbODIV2wnyeb3EFepJTpURJFY702Q8cBE36ONPY+INFBFJbCTOF4HVlqGQJvPQMO2/ j5+7D/waOAwd8ImtEhkiuJXZXPF2j3wqpNYyTVK88Im8ROezKTrNhlZu0O0ue6TBswUv AhQSoAIlvanEz8abMzOapTdZY5oQ7IUViGYLJN1eRxK1EqlBm/t8MFAUjO4cWDOHvxA4 2vlQ2/qPE7uHMZlCl/ZEsTj5b6mWOr8aemoXn14MlyqlXQi40qkz89pDJNhOI02WCCwX pGVQ==
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=grandstream-cn.20150623.gappssmtp.com; s=20150623; h=date:from:to:message-id:subject:mime-version:x-original-sender :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=6LMRsupEo3arKJcWl1m/0k8ZF/KxteRhgYHu5fMQDXE=; b=BW9TXLuTxB5GZJFkdq1GFXR+ddtaNymQwTfN60NXEHYzI8ZpEs6XiPSm6EZd2cQOt0 ENdzvlDveCAhNQ9iZ9S5RMhdXdb40OoUUCRS610wWRunwzBY8DbcEbM7gm27vvOuW71k kTDhsJ2El+Qc0/bpoFEZjAT+tX9GyMhStlcOOKLD44fOQNnm0sUDL0PPNWuQWhe3/D/w TKS6BKHcLLnlHYGYJjMpPCYZNC8B3ZNt9XKH74Oqbfh0l3P+E9LjvJAwi9Zga0WVDS4c JTBdook/i7DY6R9EiUN6BYe7E7Svtig35JRsPVnTq/wtzAWG2pAF2dPx5oGJA3o3e1AX /2PA==
Envelope-to: traductor@xxxxxxxxxxx
List-archive: <https://groups.google.com/group/android-developer>
List-help: <https://groups.google.com/support/>, <mailto:android-developers+help@googlegroups.com>
List-id: <android-developers.googlegroups.com>
List-post: <https://groups.google.com/group/android-developers/post>, <mailto:android-developers@googlegroups.com>
List-subscribe: <https://groups.google.com/group/android-developers/subscribe>, <mailto:android-developers+subscribe@googlegroups.com>
List-unsubscribe: <mailto:googlegroups-manage+364598216046+unsubscribe@googlegroups.com>, <https://groups.google.com/group/android-developers/subscribe>
Mailing-list: list android-developers@xxxxxxxxxxxxxxxx; contact android-developers+owners@xxxxxxxxxxxxxxxx
Reply-to: android-developers@xxxxxxxxxxxxxxxx
Sender: android-developers@xxxxxxxxxxxxxxxx
La escena de prueba *decribed tan abajo:
Uno telefonea conecta al *IPV6 entorno que apoya *NAT64  ,y accederá un *IPV4 *server(Punto-decimal *notation formato como *x.*x.*x.*x Pero no 
nombre de ámbito) Cuando el propósito, necesitamos conseguir un *IPV6 dirección que  *embed 
*IPV4 dirección(*server dirección),así que utilizamos *getaddrinfo para hacer esta cosa pero cuando 
el resultado no podemos conseguir el correcto *IPV6 dirección. Y no podríamos enviar cualquier 
paquete fuera. 
PS:Uso *gethostbyname2 *fucntion también no trabaja.
Hace alguien sabe cómo para manejar este  caso  en *c capa o puede nosotros  él *via 
*java clase?

-- 
Recibiste este mensaje porque eres *subscribed al *Google Grupos "*Android *Developers" grupo.
A *unsubscribe de este grupo y la parón que recibe *emails de él, enviar un *email a *android-*developers+unsubscribe@xxxxxxxxxxxxxxxx.
A correo a este grupo, envía *email a *android-developers@xxxxxxxxxxxxxxxx.
Visita este grupo en *https://grupos.*google.*com/Grupo/*android-*developers.
Para ver esta discusión en la visita de web *https://grupos.*google.*com/*d/*msgid/*android-*developers/*e9*ec84*f6-723*c-4*d99-85*de-8*b3*db11991*d3%40*googlegroups.*com.
Para más opciones, visita *https://grupos.*google.*com/*d/*optout.
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+unsubscribe@xxxxxxxxxxxxxxxx.
To post to this group, send email to android-developers@xxxxxxxxxxxxxxxx.
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.
<Anterior por Tema] Tema Actual [Siguiente por Tema>
  • [android-developers] Cómo para apoyar dual stack en android? El getaddrinfo error de regreso cuándo accedemos ipv4 server en ipv6 red., peng x <=