On Wed, 27 Jun 2001, Eric Stanley wrote:

> I haven't used netcat a whole lot, but it has been my experience that
> the command doesn't terminate when the file is done being transferred.
> The technique I used was to watch the blinky lights on my switch and
> when they quit blinking to see whether the file sizes where the same.
> If they are then Ctrl-C at least one end to terminate netcat.


Well, that's my current method, I found it only takes about 2 seconds to
netcat /etc/hosts across.  Is there a more elegant way or is the only
method of ending a netcat session to wait for the lights to stop blinking
then press ctrl-C?  It's an acceptable method for most of my applications
but it seems a little dirty, kinda like crash landing an airplane.

-Brian