• Post Reply Bookmark Topic Watch Topic
  • New Topic

sending chatuserlist to all clients  RSS feed

 
prabhat gupta
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have written a chat application in swing where in i am sending the messages to each client via the sockets stream .Now if i want to send a list of all the chatclients logged in to each one of them then how can i do this.will sending it as a long string with each name seperated with a comma and on the client side breaking it into tokens and adding to the Jlist, do the trick.if there is any other way of doing it then please give the source or else a hint .
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!