delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/06/07/19:29:11

X-Spam-Check-By: sourceware.org
Message-ID: <1149722934.448761369b394@webmail.atlas.pipex.net>
Date: Thu, 8 Jun 2006 00:28:54 +0100
From: huw AT huwdlloyd DOT com
To: cygwin AT cygwin DOT com
Subject: Re: UNIX Network Programming (unpve13e) make failing (AF_INET6 undeclared).
MIME-Version: 1.0
User-Agent: Internet Messaging Program (IMP) 3.2.1
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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

Thanks, Brian.

The first issue was an omission of #defines.  IPv6 isn't a necessity for the 
UNP source, I believe.

The next issue I have is:

mcast_leave.c: In function `mcast_leave_source_group':
mcast_leave.c:78: error: storage size of 'mreq' isn't known

76: #ifdef IP_DROP_SOURCE_MEMBERSHIP
77:        case AF_INET: {
78:                struct ip_mreq_source   mreq;

Which I believe is telling me that struct ip_mreq_source isn't defined.
Is this struct to do with IPv6 and how would I know that?

When I google for ip_mreq_source, I'm led to believe that it's defined in 
net/udp.h  (which I infer corrleates to usr/include/netinet/udp.h).

Thanks,
Huw


--
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