delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/01/16/05:46:31

X-Spam-Check-By: sourceware.org
Date: Tue, 16 Jan 2007 11:46:10 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: 1.5.23: ip_mreq_source not defined in cygwin/sockets.h
Message-ID: <20070116104610.GE28312@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <f66b63580701152254u47614cdocdfb5662e6c66b49 AT mail DOT gmail DOT com>
Mime-Version: 1.0
In-Reply-To: <f66b63580701152254u47614cdocdfb5662e6c66b49@mail.gmail.com>
User-Agent: Mutt/1.4.2.2i
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

On Jan 16 12:24, Shishir Birmiwal wrote:
> 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.
> [...]
> I do see that both the entities are defined in w32api/ws2tcpip.h

Thanks for the report.  I will add the missing structures to Cygwin.
They will not be available any time soon, though.

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

Don't do that.  Define the missing strcutures manually in your application
instead.

Also keep in mind that ip_mreq_source, ip_msfilter, in_pktinfo are only
available starting with Windows XP.  If you use them in your application,
it will not be backward compatible to NT4, W2K, or, FWIW, 95/98/Me.


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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019