[PD-dev] Multicast for OSCx

Hans-Christoph Steiner hans at eds.org
Mon Dec 11 01:37:04 CET 2006


Sounds interesting.  You'll have the best chance of getting it  
included if you submit it to the patch tracker.

.hc


On Dec 8, 2006, at 4:24 PM, Stephen Sinclair wrote:

> Hello,
>
> I needed to try some multicast stuff with Pd, but found that the OSCx
> externals didn't support it, so I made some small changes.  Just
> thought I'd send it along in case it is useful to someone else.
>
> [sendOSC] can now take an optional TTL argument in its "connect"
> message. This is "Time To Live" which says how many jumps the UDP
> packet is allowed to make before dying out.  Without setting this,
> multicast only works on the local LAN.
>
> [dumpOSC] can now take an optional "Group" argument _before_ the port
> number.  (I put it before for consistancy with sendOSC.)  For example:
>
> [dumpOSC 224.0.1.1 7879]
> When this argument is provided, it will join the given multicast
> group.  (using setsockopt)
>
>
> Tested so far on Linux (Ubuntu Dapper) and OS X 10.4.8 ppc.
>
> I also modified configure.ac a little to make it work properly with
> Pd-0.40-2.app on OS X.
>
>
> Steve
> <oscx_multicast.patch>
> _______________________________________________
> PD-dev mailing list
> PD-dev at iem.at
> http://lists.puredata.info/listinfo/pd-dev



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

All information should be free.  - the hacker ethic








More information about the Pd-dev mailing list