• Post Reply Bookmark Topic Watch Topic
  • New Topic

Instant messenger  RSS feed

 
dinesh
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Can someone tell me how to make a simulation of an instant messenger?Please if anyone can!
Thanx in advance
 
gautham kasinath
Ranch Hand
Posts: 583
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
Well I guess I can help u on that.
Well U need to tell me if u want it to be crossplatform or not.. i.e win based?
the Concept is simple. U need a Server that keeps pooling for connections from clients and maintains a hashtable with the clients username and outputstreams.
The Server only forwards the message from the source to destination..
the idea is quite simple.
client - message to client 1-> server - writes to the outputstream of client1 -> client1 receives the message.
I hope that concept is clear to ya if not please lemme know I will mail you an arch diagram for the same.
Regds
Gautham Kasinath
U R Not Alone.
 
Carl Trusiak
Sheriff
Posts: 3341
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please read and follow Java Ranch Naming Policy It can benefit you see Book Promotions
Looking forward to you posts

[This message has been edited by Carl Trusiak (edited January 17, 2001).]
 
yogesh sood
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi gautam pls mail me arch of above said application soon
thnx
yogesh_sood@excite.com
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!