I have classes: Client, Server and Background is working with Player class. I really don\'t understand why my Client class with ObjectInputStream/ObjectOu
ObjectInputStream
ObjectOu
You are closing the stream in a loop. You can't use a stream or any resource after it has been closed.