[MPlayer-dev-eng] latest mingw network patch

Sascha Sommer saschasommer at freenet.de
Tue Jun 3 12:21:45 CEST 2003


> --- Alex Beregszaszi <alex at fsn.hu> wrote:
>
> > > +#define IP_ADD_MEMBERSHIP 12
> > > +struct ip_mreq {
> > > + struct in_addr imr_multiaddr;
> > > + struct in_addr imr_interface;
> > > +};
> >
> > What is this good for?
>
> this stuff is used later in rtp_open_socket (as options for
> setsockopt). they're not defined/declared in or from winsock2.h for
> some odd reason, but they're listed here:
>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winsock/win
sock/socket_options.asp
>

Yes, they were available for winsock v1, seems like MS removed them again...
Btw. there is a typo in the configure part
if test "$_ld_sock" == "-lws2_32" ; then
should be
if test "$_ld_sock" = "-lws2_32" ; then

Sascha



More information about the MPlayer-dev-eng mailing list