Hi all,
I am writing a Socket client . After finishing all the transactions, I amusing the below method to close the socket:
The problem here is: when I call socket.shutDownInput(), I am getting socket Exception with message socket is already closed. But while I am calling socket.isClosed() before calling shutDownInput, its giving false. But after calling shutDownInput, its giving response as true. But actually, I am not calling socket.close() anywhere in the middle. Please help.
Thanks in advance,
Vignesh.B