X-Spam-Check-By: sourceware.org Date: Fri, 13 Jan 2006 11:31:37 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: inetutils-1.3.2-34: setsockopt warning from ftp Message-ID: <20060113103137.GW32312@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20060112213835 DOT GA5824 AT tela DOT daveroth DOT dyndns DOT org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060112213835.GA5824@tela.daveroth.dyndns.org> User-Agent: Mutt/1.4.2i Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk 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 Jan 12 13:38, David Rothenberger wrote: > I'm seeing a problem with ftp in inetutils-1.3.2-34 that was not > present in inetutils-1.3.2-33. > > With -34: > > % ftp ibiblio.org > ftp: setsockopt TOS (ignored): Protocol not available > Connected to ibiblio.org. > 220 ProFTPD Server (Bring it on...) > > With -33, I don't get the error about setsockopt. I'm thoroughly embarrassed. This is a (not so) funny combination of Cygwin 1.5.19 using the WinSock2 values for the IPPROTO_IP flags and another local build problem. I managed to use the 1.5.19 socket header while linking the inetutils package against Cygwin 1.5.18 which added up to the described effect. Oh well, I have uploaded a new inetutils package built with the 1.5.18 headers now. However, you should still see an error in the above case, just a different one: % ftp ibiblio.org ftp: setsockopt TOS (ignored): Invalid parameter This is a result of newer Windows versions not simply ignoring the IP_TOS setting, but instead returning an error WSAEINVAL. I applied a fix to Cygwin which now ignores the retun code of setting IP_TOS on Windows 2000 and above. It's a no-op by default anyway. So you won't see this error message anymore when using the next snapshot or when building Cygwin fresh from CVS. Thanks for the report, Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/