File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Chat Application 2

 
Anthony Yulo
Ranch Hand
Posts: 52
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm making a chat application using sockets..
as soon as a client is connected to the server the client is added to the list of online user...
So i have a server that has a list of all client and client information... My question is how do I pass the list of online users (the clients), to all clients(online users)? do i make a class that implements Serializable interface that and that encapsulate the online user information... and then it end it thru the ObjectInput/OutputStreams?
Wat?
 
Raghav Mathur
Ranch Hand
Posts: 641
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
Try using Multicast Sockets.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic