Hey all,
I am writing a small chat server for one of my classes. I am using a multi-threaded client/server model so whenever a client connects a new
thread is created to hold the client/server interactions, I am passing data across sockets using ObjectOutputStreams and ObjectInputStreams. I am running into an issue where some of my methods only work for the LAST client that connects, which leads me to believe that I am overwriting data somewhere I just cant seem to find where. I was hoping someone could spot my mistake.
ThreadHandler:
Client:
Sorry for the long post, any ideas would be great!
Thanks.
Hunter.