android-developers
[Arriba] [Todas las Listas]

[android-developers] UDP Recibir Asunto

To: Android Developers <android-developers@xxxxxxxxxxxxxxxx>
Subject: [android-developers] UDP Recibir Asunto
From: Nikhil Valiya Parambil <nikhilcuiet@xxxxxxxxx>
Date: Sat, 19 Aug 2017 04:59:17 -0700 (PDT)
Delivery-date: Sat, 19 Aug 2017 08:00:40 -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=9HBabF5g9hgpJmF8z4DJ0NtZTno1rIKsBiCNGZXfr0s=; b=dPYfpY0yNF6xjlR2ZWQOQ+CryWkWXZUmchMFR/TSJW9tzImOWpj+gIWW/URWVMd0RT qj8lXVBN+i1i6t6fSWNbyd4ntkTCdM/ryWMtQk4ZbC/hnID2yjB0HWg4SWj1QpdtrOpf nsj0YlOqCXi4wXyhD32buqTZzyec5YxWp1oYVDXRjfMVGIxOKIyFkRCy9Fuyg2CgYj6R lE/JfQeWIUr1CeJUie/Kv4sSA9kK13PXc+p+D+00HgpDQsjlNHe3hHJhIYHZPLxPP6CA K8HcDO27U5WUdgK8mfrprxMWhp8v/gylCzTkPnM1hSPixVJajmFDoQIKSmPAA9IW6c4d 5KqA==
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; 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=9HBabF5g9hgpJmF8z4DJ0NtZTno1rIKsBiCNGZXfr0s=; b=EjjAANq1VVaJrE7mpPtglahzUfPcXTRo6EvcH7kTsvVV6gKyKf8lEmrCZbExaL/iyJ fArvmHyEATC+/jekbRg3qftQZXQnt9pGpzYI21HdMFC232s1Bo3ZcoIi+QQk0x7Zbamt /cYD7qaZBE4MC5Lco4OT74kdhQineAw9hDzIUoXQHCvd3B40lJZuemXQgKmbOpkd03xI SvR/58+e2/GRHNHwM97mz0CurOjzm1DHdJBF3Qzc/Cz/Z1Gm3uo+f5tas+suTH/ErZGg saiSUooz8ghb65leJt4yq9k+XFxznnLPlBCb6fOYt6uOXpdouq1jI7ParSYtiq05FuWM FjLQ==
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

Mientras ejecutando el siguiendo función *app no trabajando con GUI, particularmente  dato_*socket.Recibe(leído); ejecutando.Complacer aclarar mi duda. 

Público *void recibir_DATO () echa *IOException
        #unknown{^*byte[] recibe_el dato = nuevo *byte[1024];
        *DatagramSocket dato_*socket = nuevo *DatagramSocket(2362);
        *DatagramPacket leyó = nuevo *DatagramPacket(recibe_dato, recibe_dato.Longitud);
        dato_*socket.Recibe(leído);
        Cadena *buffer = Cadena nueva(leído.*getData());
        Dato_*socket.Cercano();

}

-- 
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/4*d8*f6508-32*c6-4573-9679-54*d8225016*d2%40*googlegroups.*com.
Para más opciones, visita *https://grupos.*google.*com/*d/*optout.

while executing the following function app not working with GUI, particularly  data_socket.receive(read); executing.Please clarify my doubt. 

public void receive_DATA () throws IOException {
        byte[] receive_data = new byte[1024];
        DatagramSocket data_socket = new DatagramSocket(2362);
        DatagramPacket read = new DatagramPacket(receive_data, receive_data.length);
        data_socket.receive(read);
        String buffer = new String(read.getData());
        data_socket.close();

}

-- 
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/4d8f6508-32c6-4573-9679-54d8225016d2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
<Anterior por Tema] Tema Actual [Siguiente por Tema>
  • [android-developers] UDP Recibir Asunto, Nikhil Valiya Parambil <=