O
oziris
Hello !
When I close a socket from a side of it with
<code>
socket.getInputStream().close();
socket.getOutputStream().close();
socket.close();
</code>
it seems to be impossible to detect this closing from the other side.
All the methods
socket.isBound()
socket.isConnected()
socket.isClose()
returns true. And no exception is thrown when I try to read from this
socket.
Does someone ever deal with that stuff?
Thanks.
-o--
When I close a socket from a side of it with
<code>
socket.getInputStream().close();
socket.getOutputStream().close();
socket.close();
</code>
it seems to be impossible to detect this closing from the other side.
All the methods
socket.isBound()
socket.isConnected()
socket.isClose()
returns true. And no exception is thrown when I try to read from this
socket.
Does someone ever deal with that stuff?
Thanks.
-o--