Code: Select all
--miface=<string> Multicast output interface
Default multicast interface. This overrides the routing table
Code: Select all
define if_nametoindex( str ) atoi( str )
Code: Select all
# ifndef HAVE_IF_NAMETOINDEX
# define if_nametoindex(name) atoi(name)
# endif
Code: Select all
case AF_INET:
{
struct ip_mreq imr;
memset (&imr, 0, sizeof (imr));
assert (grplen >= sizeof (struct sockaddr_in));
imr.imr_multiaddr = ((const struct sockaddr_in *)grp)->sin_addr;
>> add settings "imr.imr_interface. s_addr" to "inet_addr('value of "--miface"')" here <<
if (setsockopt (fd, SOL_IP, IP_ADD_MEMBERSHIP,
&imr, sizeof (imr)) == 0)
return 0;
break;
}
Return to “VLC media player for Windows Troubleshooting”
Users browsing this forum: No registered users and 26 guests