problem with ttl on multicast
Eric Doutreleau
Eric.Doutreleau at int-evry.fr
Wed Jan 23 17:49:45 CET 2002
Hi
I'm trying to use the multicast diffusion for vls and i have the following
problem.
Yhe multicast packet are generated with a ttl=1 value which is the
default value set by the kernel.
Then the packet is discarded by the router as it decrement the ttl and
this one become equal to 0.
Then i can see the video on the local network but not on the other
network.
It would be nice if it was possible to specifty the ttl value for
the multicast broadcasting ideally on the vls.cfg file.
To set the ttl in C
u_char ttl;
setsockopt(socket, IPPROTO_IP, IP_MULTICAST_TTL,
&ttl, sizeof(ttl));
But i don t know at all where i should modify the code
Thanks in advance for any help
--
Eric Doutreleau
I.N.T | Tel : +33 (0) 160764687
9 rue Charles Fourier | Fax : +33 (0) 160764321
91011 Evry France | email : Eric.Doutreleau at int-evry.fr
--
This is the vls-devel mailing-list, see http://www.videolan.org/vls-devel/
To unsubscribe, please read http://www.videolan.org/lists.html
More information about the vls-devel
mailing list