Read up to maxBytes
from the peer.
Read up to maxBytes
from the peer. If timeout
is provided
and the operation does not complete in the specified duration,
the returned Process
fails with a java.nio.channels.InterruptedByTimeoutException.
Close the connection corresponding to this Socket
.
Indicate to the peer that we are done writing.
Ask for the local address of the socket.
Ask for the remote address of the peer.
Write bytes
to the peer.
Write bytes
to the peer. If timeout
is provided
and the operation does not complete in the specified duration,
the returned Process
fails with a java.nio.channels.InterruptedByTimeoutException.
(socket: StringAdd).self
(socket: StringFormat).self
(socket: ArrowAssoc[Socket]).x
(Since version 2.10.0) Use leftOfArrow
instead
(socket: Ensuring[Socket]).x
(Since version 2.10.0) Use resultOfEnsuring
instead