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.
            Asked
            
        
        
            Active
            
        
            Viewed 150 times
        
    2
            
            
        
        Gunnar
        
- 18,095
 - 1
 - 53
 - 73
 
- 
                    I think this is covered in https://stackoverflow.com/a/45901549/1602555 – Karol Dowbecki Jul 18 '21 at 09:09