delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/06/08/11:04:02

X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Subject: RE: UNIX Network Programming (unpve13e) make failing (AF_INET6 undeclared).
Date: Thu, 8 Jun 2006 11:03:38 -0400
Message-ID: <4C89134832705D4D85A6CD2EBF38AE0F54901E@PAUMAILU03.ags.agere.com>
From: "Williams, Gerald S \(Jerry\)" <gsw AT agere DOT com>
To: <huw AT huwdlloyd DOT com>, <cygwin AT cygwin DOT com>
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
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id k58F3tbW017056

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

I'd say the real issue is a failure to protect the use of
AF_INET6. You'll notice that it's protected by an #ifdef
earlier.

> 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

I don't know anything about the ip_mreq_source structure,
but it looks to me like the current version may be having
general issues with support for various platforms and
configurations.

Have you tried using the version at www.kohala.com (i.e.,
unpv12e)? That was the the last one that Richard Stevens
wrote. At least the "lib" directory seems to build OK for
me. Even if you really want the latest library, looking
at the older code may help you with the port.

I haven't looked into the new version of that book, but
the new authors certainly had big shoes to fill.

gsw

P.S. www.kohala.com seemed to have intermittent access
problems (at least for me), so be patient.

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