This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: inetutils-1.3.2-34: setsockopt warning from ftp


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]