From owner-freebsd-amd64@FreeBSD.ORG Wed Jan 1 15:20:01 2014 Return-Path: Delivered-To: freebsd-amd64@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 785BE187 for ; Wed, 1 Jan 2014 15:20:01 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 651041D9B for ; Wed, 1 Jan 2014 15:20:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id s01FK1JC039932 for ; Wed, 1 Jan 2014 15:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id s01FK1xS039931; Wed, 1 Jan 2014 15:20:01 GMT (envelope-from gnats) Date: Wed, 1 Jan 2014 15:20:01 GMT Message-Id: <201401011520.s01FK1xS039931@freefall.freebsd.org> To: freebsd-amd64@FreeBSD.org Cc: From: "Robert Eckardt" Subject: Re: amd64/185353: nc does not exit after transfer X-Mailman-Approved-At: Wed, 01 Jan 2014 15:23:00 +0000 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: Robert Eckardt List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Jan 2014 15:20:01 -0000 The following reply was made to PR amd64/185353; it has been noted by GNATS. From: "Robert Eckardt" To: Peter Wemm Cc: freebsd-gnats-submit@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@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com; > KI6FJV Yes, I know, gmail sucks now. If you see this then I forgot. Habits > are hard to break.