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: socat with IP6 support?


On Jan 20 03:45, Andrew Schulman wrote:
> > Thanks.  I added the ip6.h header nevertheless for the upcoming
> > Cygwin 1.7.28.
> 
> This seems to work fine for socat, but for socat-debuginfo 2.0.0-b6, the
> build fails because IPV6_DSTOPTS is undefined.

I don't quite understand this.  socat-debuginfo is just a by-product of
building socat.  How can building socat work but building debuginfo fail?!?

> Cygwin doesn't seem to
> define IPV6_DSTOPTS.  In Ubuntu, it's defined in
> /usr/include/linux/in6.h (value 59), along with a whole bunch of other
> IPv6 socket options.
> 
> I'm not sure what the best solution is here.  I could define it locally,
> but would it be better for Cygwin to bring in the missing definitions?

I don't think so.  I checked the available options on Windows again,
and IPV6_DSTOPTS is not supported.  I applied a small patch a few
minutes ago to add a few socket options our headers were missing,
but there are still a lot of Linux socket options not supported on
Windows which hinders CYgwin to support them.

Any chance you could tweak this piece of code to be built only
if IPV6_DSTOPTS is defined?


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

Attachment: pgpf2W200FmzM.pgp
Description: PGP signature


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