Hey everyone,
I am working on a small chat program for one of my classes, where users can connect to a server and create groups to chat in. When the user connects a new
thread is created for the user-server to interact in, inside this thread I add a user to a list of users that have already connected. I am running into the issue an where inside my thread I am adding a user to the list of users but for some reason when I check to the number of users that have connected on my client program code, is says the number of users is 0.
ChatServer:
ThreadHandler:
ChatClient:
Sorry for the long post, any help would be awesome.
Thanks,
Hunter