The outgoing socket can apparently be shut down with SinkExt::close(), which (for Framed) calls AsyncWriteExt::shutdown().
See also: the -N and -q options of OpenBSD's netcat(1):
-N — Shutdown the socket after EOF on input
-q <seconds> — After EOF on input, wait <seconds> and then quit; implies -N
The outgoing socket can apparently be shut down with
SinkExt::close(), which (forFramed) callsAsyncWriteExt::shutdown().See also: the
-Nand-qoptions of OpenBSD'snetcat(1):-N— Shutdown the socket after EOF on input-q <seconds>— After EOF on input, wait<seconds>and then quit; implies-N