I committed it without the changes to configure.ac since those broke the Pd-extended build stuff. We'll see tomorrow whether it builds on Windows...

.hc

On Dec 28, 2006, at 3:11 PM, Stephen Sinclair wrote:

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 <[EMAIL PROTECTED]> 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




------------------------------------------------------------------------

                                              http://at.or.at/hans/


_______________________________________________
PD-dev mailing list
PD-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev

Reply via email to