i want to make a server client application. i set everything up and i get this error. i want the app to wait till i get more data.
java.io.EOFException
at java.
Are all your Objects used in WorkerMessageToMaster serializable, as well as WorkerMessageToMaster itself? Every Object you want to send with ObjectStreams have to implement serializable, and all children of it have to have it implemented. String, as well as primitive datatypes (int, float etc) are serializable without you needing to do anything. But if you use your own classes, they have to implement serializable.