Re: Mention -N to shutdown(2) network socket after EOF in man nc(1)

2021-03-31 Thread Jason McIntyre
On Tue, Mar 30, 2021 at 02:48:17AM +0200, Robert Scheck wrote: > Jakub Jelen reported at Fedora that "nc -l 8080" (terminal #1) and "echo > XXX | nc localhost 8080" (terminal #2) keeps hanging both client and server > after reading the EOF, even the last sentence of "CLIENT/SERVER MODEL" in > the

Mention -N to shutdown(2) network socket after EOF in man nc(1)

2021-03-29 Thread Robert Scheck
Jakub Jelen reported at Fedora that "nc -l 8080" (terminal #1) and "echo XXX | nc localhost 8080" (terminal #2) keeps hanging both client and server after reading the EOF, even the last sentence of "CLIENT/SERVER MODEL" in the man page of nc(1) says "The connection may be terminated using an EOF