dcsimg
Chat Server/Client Application
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   varun_shastr
Posted On:   Thursday, June 10, 2004 02:52 PM

My server(observable) needs to maintain a list of current users

I have 1 thread(observer) to handle each client


How can I obtain the username
I dont have authentication


should the client send the username after opening the socket??


I think I need to maintain an arraylist or vector of usernames
which is ofcourse static member of server.am i right????




how do i communicate this list to all the clients in the observable/observer scenario??

About | Sitemap | Contact