[PD-dev] multicast patch to OSCx
Stephen Sinclair
radarsat1 at gmail.com
Thu Dec 28 21:11:23 CET 2006
Hi,
I did this patch quickly because I needed it.
The changes are _very_ simple, so I have some confidence that it should
work.
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.)
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.
By the way, I made the changes based on this tutorial:
http://ntrg.cs.tcd.ie/undergrad/4ba2/multicast/antony/index.html
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.
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.
Let me know if anyone has comments or criticisms, I'd be happy to make
changes and re-submit the patch.
Steve
On 12/28/06, Hans-Christoph Steiner <hans at eds.org> wrote:
>
>
> This patch adds multicast support to the OSCx libs, it looks useful,
> but I don't really use OSC, so I couldn't say if its worth taking or
> not:
>
> http://sourceforge.net/tracker/index.php?
> func=detail&aid=1612910&group_id=55736&atid=478072
>
> Shall we trying it in the nightly test builds? Anyone willing to
> vouch for this patch so that it can be included in the next release?
>
> .hc
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20061228/7d773f24/attachment.htm>
More information about the Pd-dev
mailing list