I don't think this problem is related to thread safety, because same problem is there when only one client is present. Still I tried replacing ArrayList with Vector since Vector is threadsafe
Type: Posts; User: gaurav9991
I don't think this problem is related to thread safety, because same problem is there when only one client is present. Still I tried replacing ArrayList with Vector since Vector is threadsafe
I wanted to create a simple game with a server and more than one clients. Server will have several Hashmaps and Arraylists. Server will broadcast these to clients, then one by one a client may modify...