Nirmal Mekala Kumar
,
Ranch Hand
How can we check if an ObjectInputStream is ready to be read. It does not have methods like ready() as in readers, so how do I check it.
Nirmal Mekala Kumar
,
Ranch Hand
I tried available but it blocks indefinitely(while(!(available>0)){}) When I remove it, the program moves forward and reads from the objectstream.