Hi,<br><br>I did this patch quickly because I needed it.<br><br>The changes are _very_ simple, so I have some confidence that it should work.<br><br>Some quick tests under Linux and OS X showed that it was working. I haven't tried the patch under Windows. (Never compiled Pd under Windows actually.)
<br><br>Testing the TTL parameter is not so easy... you need to test several ranges of subnets. Setting it to 0 showed that a message could be sent to localhost but not to another computer on the subnet, so that at least supports the theory that it works. But I haven't tried it over the internet.
<br><br>By the way, I made the changes based on this tutorial:<br><a href="http://ntrg.cs.tcd.ie/undergrad/4ba2/multicast/antony/index.html">http://ntrg.cs.tcd.ie/undergrad/4ba2/multicast/antony/index.html</a><br><br>Testing it with Max/MSP's "
net.multi.send/receive" objects produced some garbage... I'm not sure what that was all about. But testing it with Max 4.6's udpsend/receive objects worked fine.<br><br>Another change I'd like to make is to have sendOSC support some arugments for port/host instead of having to send it the "connect" message, but I thought that kind of change would be out of this patch's scope.
<br><br>Let me know if anyone has comments or criticisms, I'd be happy to make changes and re-submit the patch.<br><br>Steve<br><br><br><br><div><span class="gmail_quote">On 12/28/06, <b class="gmail_sendername">Hans-Christoph Steiner
</b> <<a href="mailto:hans@eds.org">hans@eds.org</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>This patch adds multicast support to the OSCx libs, it looks useful,
<br>but I don't really use OSC, so I couldn't say if its worth taking or<br>not:<br><br><a href="http://sourceforge.net/tracker/index.php">http://sourceforge.net/tracker/index.php</a>?<br>func=detail&aid=1612910&group_id=55736&atid=478072
<br><br>Shall we trying it in the nightly test builds? Anyone willing to<br>vouch for this patch so that it can be included in the next release?<br><br>.hc<br><br></blockquote></div><br>