0

Is it same as sending to any other IP address or is it different?

Shrey
  • 93
  • 3
  • 5
  • 12

1 Answers1

2

Multicast messages can not be sent via TCP protocol (as it requires message receival confirmation). They are dispatched using UDP. For that purpose Java has a MulticastSocket class.

There is quite short and self-explanatory tutorial here: Broadcasting to Multiple Recipients

Aleh Maksimovich
  • 2,622
  • 8
  • 19