Subject: Re: IPv4 multicast set/getsockopt, specifying interface index
To: <>
From: None <itojun@iijlab.net>
List: tech-net
Date: 01/13/2001 13:05:58
>	the following patch uses 0.0.0.0/8 as 24bit interface index value.
>	on getsockopt(IP_MULTICAST_IF) it will return the value the user has
>	set.  does it look right, or messy?

	a question remains to me - how can we identify a system with this
	feature, and a system without feature.  this is messy...

	/* ifindex = x is known to be there */
	if (setsockopt(IP_MULTICAST_IF, 0.0.0.x) < 0)
		/* no support */
	else
		/* supports it */

itojun