Re: Multicast and TTL - Again
Tom Anwyll <[email protected]> Fri, 8 Sep 2006 13:50:04 -0700 (PDT)
| Newsgroups | gmane.comp.gnu.ccrtp.devel |
|---|---|
| Message-ID | <[email protected]> |
update: the following behavior is also true for ccrtp 1.4.2 commoncpp2 1.4.1 --- Tom Anwyll <[email protected]> wrote: > Hello RTP Gurus, > > I am having trouble setting the TTL on a multicast > socket. Despite my best efforts, ethereal still > shows the TTL field of my packets set to 1. > > FYI, I'm using ccRTP 1.3.6 and commoncpp 1.3.22 > > code snippet > > RTPSession* s = new RTPSession( > INetHostAddress("0.0.0.0")); > s->addDestination( > InetHostAddress("235.1.1.1"),18800); > s->getDSO()->setMulticast(true); // <-- This was > needed to avoid crash on next line -- not sure if > this is right > s->getDSO()->setTimeToLive(32); > > Any ideas about what I am doing wrong or how to set > multicast TTL's > 1? > > TIA, > Tom > > > --------------------------------- > All-new Yahoo! Mail - Fire up a more powerful email > and get things done faster.> _______________________________________________ > Ccrtp-devel mailing list > [email protected] > http://lists.gnu.org/mailman/listinfo/ccrtp-devel > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com