X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.3 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,SPF_HELO_PASS,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Jason Curl Subject: Re: ioctl() on socket fd's take 3 seconds on 1.7.7 Date: Tue, 23 Nov 2010 21:19:45 +0100 Lines: 18 Message-ID: References: <20101115162242 DOT GF17405 AT calimero DOT vinschen DOT de> <4CE8046F DOT 2090106 AT arcor DOT de> <20101122131729 DOT GT18309 AT calimero DOT vinschen DOT de> <20101123101856 DOT GA18309 AT calimero DOT vinschen DOT de> <20101123153850 DOT GC18309 AT calimero DOT vinschen DOT de> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6 In-Reply-To: <20101123153850.GC18309@calimero.vinschen.de> X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On 23/11/2010 16:38, Corinna Vinschen wrote: > On Nov 23 14:10, Jason Curl wrote: > > Actually, after reading a bit about this flag, the usage in Cygwin > seems to be wrong anyway. I applied a patch so that IFF_NOARP is > only set for PPP and SLIP devices, so the call to SendARP is gone. > Please test CVS or the next developer snapshot. > I tried to understand what this flag is for. As far as I can understand, windows will always reply to ARP requests. There's a registry entry for "gratuitous arp". So doesn't that imply IFF_NOARP will be set for all interfaces? I downloaded the snapshot as of today. The 3 second delays are no longer present (thanks!). Best Regards, Jason. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple