posted 19 years ago
Hi !
Again, I'm clueless. I have a java.net.Socket called socket which I want to close (disconnect from the peer). I can close the socket, but I can't disconnect it:
(socket.isClosed()) returns true, but (socket.isConnected) remains true as well. How can I fully cut the connection ? The socket is associated with a java.nio.channels.SocketChannel.
Thanks in advance,
Dennis