I'm trying to develop an Android 2.2 application but I'm having a lot of 
problems with UDP sockets. 

I have two phones, and HTC Desire 2.2.2 and Samsung Galaxy S. I'm 
developing a program that will wait to receive UDP Broadcast packets send 
by a device that sends UDP broadcast packets to 255.255.255.255:8001 every 
0.5 seconds.

To test my application I'm using Docklight scripting v1.9. With this 
program I send broadcast packet to UDP:255.255.255.255:8001.

This is my problem:

With the same code I don't receive broadcast packets in the HTC, but I 
receive UDP unicast packets if I send those packets to phone's IP.

But, if I try with Samsung Galaxy S, I don't receive every packet in both 
cases (unicast and broadcast). With this phone I receive one packet or two, 
and one or two seconds later I receive four or five at the same time.

I'm wondering if I need a special configuration to make it work.

May I need a special configuration?

You can find more details here: UPD packets doesn't arrive on a Samsung 
Galaxy Tab 7.7 but they arrive on a HTC 
Desire<http://stackoverflow.com/questions/11358552/upd-packets-doesnt-arrive-on-a-samsung-galaxy-tab-7-7-but-they-arrive-on-a-htc>

-- 
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

Reply via email to