Java Server ObjectInputStream reads only once. Want multiple.
Dear all,
I have written a client server application but I am facing the problem that when the server use the readObject method blocks after the first call. In other words, I can only read once or I can only read one sent object.
Does anybody know why this happens?
Thank you.
|