3

I have an app in Android that use communication by MulticastSocket. I want to write similar app in J2ME with communication Android <-> J2ME through WiFi using MulticastSocket. The problem is that in J2ME not exitsts MulticastSocket. There is only DatagramSocket. Can I manage with this problem using DatagramSocket?

lgi
  • 65
  • 5

1 Answers1

0

No you can't. You cannot join a multicast group with a DatagramSocket. Ergo you can send to a multicast group, but not receive from one.

user207421
  • 305,947
  • 44
  • 307
  • 483