Hi ! Some operators will block UDP packets, for example I know that O2 UK used to do this and this meant that streaming on O2 was not possible (its no longer the case as they have unblocked it).
But basically this is an issue is with the network carrier. Trying changing carrier ? Regards Gerard On Dec 15, 2:02 am, Costa <[email protected]> wrote: > I am writing a UDP client/server application. > The android phone (client) can send and receive UDP packets if > connected to wi-fi. When using mobile network (2G), however, it can > send packets to the server, but cannot receive packets. The server > does receive and send back packets in all cases. > > The client side code is as follows: > byte[] buf = new byte[4096]; > DatagramPacket packet = new DatagramPacket(buf, buf.length); > while (true) { > packet.setData(buf); > socket.receive(packet); > ... > } > > Can anyone give advice? Thanks. > > Costa -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

