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+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/4d8f6508-32c6-4573-9679-54d8225016d2%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.