zero-copy from SocketChannel to SocketChannel

200 Views Asked by At

With Java's NIO API, is it possible to implement a zero-copy data transfer from one socket to another? I'm aware of FileChannel::transferTo() which does this from file to socket, but there isn't a transferTo() method on SocketChannel.

0

There are 0 best solutions below