<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div><blockquote type="cite">For my application I need to send differently scoped multicast RTP.<br>I have found that I use both the multicast address and the TTL to try different configurations.<br>However, I cannot send multicast packets with a TTL of zero (meaning traffic restricted to the same host). They get sent but with a TTL of 1 (meaning traffic restricted to the same subnet, not what I want).<br>I have seen the problem lies in writeSocket in GroupsockHelper: it skips the setsockopt to set the TTL if it is 0.<br>Removing the condition seems to work (meaning such packets reach receivers in the same host but are not seen by other hosts in the subnet or traffic analysers), but I wonder if not setting TTL 0 is intentional and by enabling it I will be having "collaterals".<br>So, should everything work as expected when enabling TTL 0?<br>Would this be filed as a "bug" and be corrected in the next version?<br></blockquote><div><br></div>Yes, probably. Thanks for the note.</div><br><br><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; ">Ross Finlayson<br>Live Networks, Inc.<br><a href="http://www.live555.com/">http://www.live555.com/</a></span></span>
</div>
<br></body></html>