This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 1.5.23: ip_mreq_source not defined in cygwin/sockets.h

On Jan 16 12:24, Shishir Birmiwal wrote:
> Hi,
> I recently tried building live55 streaming media ( 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:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]