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
