This is not really an Android related topic, but... Do not rely on IP broadcasting being available. A lot of networks will forbid broadcast packets. You may try the ICMP ping, but a lot of firewalls will drop all ICMP packets. Broadcasting is an unreliable feature.
I'd suggest asking on StackOverflow, there are more people that do lower level networking. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en