Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Writing a class that receive and broadcast at the same time

 
Antoine Koskoz
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everybody,
I'm trying to write a class using MulticastSocket and DatagramSocket which can send messages to all clients in the same group and receive messages from them.
It's basically a chat.

The problem is it works for the first 2 messages but after no one is receiving from the others.





Thanks for helping me.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic