From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22061 invoked by alias); 12 Jun 2007 11:29:01 -0000 Received: (qmail 22052 invoked by uid 22791); 12 Jun 2007 11:29:01 -0000 X-Spam-Check-By: sourceware.org Received: from alnrmhc13.comcast.net (HELO alnrmhc13.comcast.net) (204.127.225.93) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 12 Jun 2007 11:28:59 +0000 Received: from [192.168.1.200] (c-67-188-0-30.hsd1.ca.comcast.net[67.188.0.30]) by comcast.net (alnrmhc13) with ESMTP id <20070612112857b1300o1gm6e>; Tue, 12 Jun 2007 11:28:58 +0000 Message-ID: <466E9166.7070506@ds3switch.com> Date: Tue, 12 Jun 2007 16:08:00 -0000 From: Tad User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: eCos Disuss References: <466DDDCF.1040506@ds3switch.com> <20070611230045.GI26816@lunn.ch> <466DE365.1090800@ds3switch.com> <20070612034851.GJ26816@lunn.ch> In-Reply-To: <20070612034851.GJ26816@lunn.ch> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: [ECOS] listen (x, 0) on new TCP incoming connections doesn't stop select()/accept() X-SW-Source: 2007-06/txt/msg00127.txt.bz2 FWIW, as far as I can tell, and not fully understanding the internals of listen(): It appears that attempting to stop accepting incoming TCP connections by setting listen (x, backlog=0) (after an initial listen (x, >0) if it's relevant) doesn't stop incoming TCP SYN connection requests from being ACK'd and appearing in select() and accept(). Thought that should have. -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss