1.5.23: ip_mreq_source not defined in cygwin/sockets.h

Corinna Vinschen corinna-cygwin@cygwin.com
Tue Jan 16 10:46:00 GMT 2007

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

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

More information about the Cygwin mailing list