From owner-freebsd-net@FreeBSD.ORG Tue Dec 2 05:56:37 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F107069A for ; Tue, 2 Dec 2014 05:56:37 +0000 (UTC) Received: from shell1.rawbw.com (shell1.rawbw.com [198.144.192.42]) by mx1.freebsd.org (Postfix) with ESMTP id D9ECE392 for ; Tue, 2 Dec 2014 05:56:37 +0000 (UTC) Received: from eagle.yuri.org (c-73-162-232-245.hsd1.ca.comcast.net [73.162.232.245]) (authenticated bits=0) by shell1.rawbw.com (8.14.9/8.14.9) with ESMTP id sB25uasT017496 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Mon, 1 Dec 2014 21:56:36 -0800 (PST) (envelope-from yuri@rawbw.com) X-Authentication-Warning: shell1.rawbw.com: Host c-73-162-232-245.hsd1.ca.comcast.net [73.162.232.245] claimed to be eagle.yuri.org Message-ID: <547D5493.3020407@rawbw.com> Date: Mon, 01 Dec 2014 21:56:35 -0800 From: Yuri User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: Someone Somewhere Subject: Re: Can multiple apps listen for TCP on the same port? References: <547C5DD3.90604@rawbw.com> <547D1DC6.8030408@rawbw.com> In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Dec 2014 05:56:38 -0000 On 12/01/2014 20:22, Someone Somewhere wrote: > I think backlog value has no direct implication here. > What matters is if the listening socket has been closed after accepting the > client connection or not. > -Kunal. I think backlog >1 in one-user one-connect app (as nc) might catch other connections and later drop them. I might be wrong. Yuri