Relates :
|
|
Relates :
|
Socket.getInputStream() specifies how the the input stream read method behaves when a TCP connection is broken. The socket adaptor return by SocketChannel::Socket does not implement this on all platforms, instead it reflects the behavior of the underlying operating system. As part of this change, the socket adaptor can implement the available() method.