delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/01/16/01:54:52

X-Spam-Check-By: sourceware.org
Message-ID: <f66b63580701152254u47614cdocdfb5662e6c66b49@mail.gmail.com>
Date: Tue, 16 Jan 2007 12:24:29 +0530
From: "Shishir Birmiwal" <shishir AT birmiwal DOT net>
To: cygwin AT cygwin DOT com
Subject: 1.5.23: ip_mreq_source not defined in cygwin/sockets.h
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

Hi,

I recently tried building live55 streaming media (live555.com) on cygwin-1.5.23.
While building, it complained of the structure ip_mreq_source being not defined.

A little bit of probing and emailing the live-devel mailing list revealed that
IP_ADD_SOURCE_MEMBERSHIP is defined in cygwin/sockets.h and
ip_mreq_source is not defined.

The live maintainer suggested that it would make sense to either have
both the entities defined in one place, or not have them defined at
all.

Since IP_ADD_SOURCE_MEMBERSHIP is defined, it's associated structure
ip_mreq_source should also be also defined in the same header file.

I do see that both the entities are defined in w32api/ws2tcpip.h

Would it make sense for cygwin/sockets.h to include w32api/ws2tcpip.h?
I'm afraid that it might add to the kludge that is winsock/winsock2,
and break some things :)

FYI, associated messages on live-devel mailing list
  http://lists.live555.com/pipermail/live-devel/2007-January/005832.html
  http://lists.live555.com/pipermail/live-devel/2007-January/005835.html


Regards
Shishir

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