View Single Post
  #2 (permalink)  
Old 10-30-2007, 01:41 PM
JavaBean's Avatar
JavaBean JavaBean is offline
Moderator
 
Join Date: May 2007
Posts: 1,272
JavaBean is on a distinguished road
Your server will keep track of the ip of the connected users. Whenever you want to broadcast a message to them, your server will send a message to the client side. It will be more clear if you read Sun's tutorial:

Lesson: All About Sockets (The Java™ Tutorials > Custom Networking)
Reply With Quote