delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/01/13/05:31:48

X-Spam-Check-By: sourceware.org
Date: Fri, 13 Jan 2006 11:31:37 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
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
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
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019