amd64/185353: nc does not exit after transfer

Robert Eckardt rol at robert-eckardt.de
Wed Jan 1 15:20:01 UTC 2014


The following reply was made to PR amd64/185353; it has been noted by GNATS.

From: "Robert Eckardt" <rol at robert-eckardt.de>
To: Peter Wemm <peter at wemm.org>
Cc: freebsd-gnats-submit at freebsd.org
Subject: Re: amd64/185353: nc does not exit after transfer
Date: Wed, 1 Jan 2014 16:10:24 +0100

 On Mon, 30 Dec 2013 16:40:42 -0800, Peter Wemm wrote
 > -N      shutdown(2) the network socket after EOF on the input.  
 > Some             servers require this to finish their work.
 > 
 > Try:  "nc -N machineA 12345 < bar.txt" from your example
 
 Hi,
 
 you're right. It works.
 Then it should be documented in the example in the man page as nc 
 now belongs to "some servers" that require this to finish their work.
 
 Regards,
 Robert
 
 > -- 
 > Peter Wemm - peter at wemm.org; peter at FreeBSD.org; peter at yahoo-inc.com; 
 > KI6FJV Yes, I know, gmail sucks now. If you see this then I forgot. Habits
 > are hard to break.
 


More information about the freebsd-amd64 mailing list