A: 

I've implemented another test, this time using UDP Broadcast. It works.

Conclusion: To the extent of my knowledge Motorola Droid phones on firmware 2.0.1 don't support multicast, but you can always use regular DatagramPackets on the broadcast address.

Gubatron
See the Update (April 2nd 2010) on this thread.I've managed to get the Droid to communicate over Multicast using firmware 2.0.1 by aqcquiring a Multicast Lock."WifiManager.MulticastLockAllows an application to receive Wifi Multicast packets. Normally the Wifi stack filters out packets not explicitly addressed to this device. Acquring a MulticastLock will cause the stack to receive packets addressed to multicast addresses. Processing these extra packets can cause a noticable battery drain and should be disabled when not needed. "
Gubatron
A: 

Does your app only work on a WiFi network or have you tested it on your provider's network? I cannot get ServerSocket or DatagramSocket to work on my provider's network, but it works on my LAN all day long.

Lorek
My App seems to work also on my provider (Verizon), however I need another phone to test and see if Multicast is actually working. So far I can see my own packets coming back.However I'm afraid that my provider (Verizon) won't allow two clients to talk to each other, if some WiFI administrators (Starbucks WiFi) block this, it's probably very easy for a 3g provider to do the same on their routers.
Gubatron
A: 

I am trying to receive Multicast packets on my Nexus-One (firmware 2.1.1). I used the above code, but had no luck so far. Can you please attach your complete source so I can compare it with mine?

Thanks, Eyal

Eyal
Eya, I've added an update, hope it helps.
Gubatron
A: 

Thanks for the update. I've tried it on my Nexus-1 and it works great.

Thanks again, Eyal

eyalzmora