Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Feb 2014 19:16:11 -0500
From:      Dave Mischler <dave@mischler.com>
To:        freebsd-stable@freebsd.org
Subject:   Is "nc" broken in 10.0?
Message-ID:  <1392077771.9826.4.camel@barrel.mischler.com>

next in thread | raw e-mail | index | archive | help
the 'nc' program doesn't seem to close the network connection anymore
when it reaches EOF.  This worked fine in 9.x.  Can somebody else
confirm this broken behavior?

Example:

On one session, listen for an incoming connection:

% nc -l 5101

On another session, open an outgoing connection, then close the input:

% nc 127.0.0.1 5101
^D

The session will not close.  It doesn't seem to matter if the input is a
terminal, file, pipe, or whatever else you can think of.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1392077771.9826.4.camel>