Socket.copy

Transfer the content of another conduit to this one. Returns the dst OutputStream, or throws IOException on failure.

Does optimized transfers

class Socket
override
OutputStream
copy
(
InputStream src
,
size_t max = -1
)

Meta