[PD] help needed: broadcast mode netsend(~) over UDP (from Mac OSX)

Hans-Christoph Steiner hans at at.or.at
Sat Jul 18 18:06:24 CEST 2009


Sounds like it would be a good idea to add that.  As far as I know, Olaf
doesn't work on that anymore.  So anyone is free to start maintaining
that code.  Its in the pure-data SVN.

.hc

On Wed, 2009-07-15 at 17:43 +0200, Nicholas Mariette wrote:
> Here's a link to that thread about the SO_BROADCAST option...
> http://markmail.org/message/s5xygbsbke5ly4bp
> Nick
> 
> 
> On Jul 15, 2009, at 5:40 PM, Nicholas Mariette wrote:
> 
> > hi,
> >
> > Can anyone advise on whether it's possible to do UDP broadcast (e.g.  
> > to 255.255.255.255 or more limited IP ranges) from netsend~ (by Olaf  
> > Matthes), or even netsend or other network objects?
> >
> > I've tried this and have not had any luck.
> > I get this error:
> > "connecting stream socket: Permission denied (13)"
> >
> > I then looked at the code of netsend~.
> > I'm using an updated version available (with source) at:
> > http://www.remu.fr/sound-delta/netsend~/
> >
> > After some googling around about the (13) error, I tried setting  
> > SO_BROADCAST, which it seems might be necessary to enable broadcast  
> > mode.
> > This didn't help - I still get the permission denied message.
> >
> > I have then tried several other network objects, like netsend  
> > (control data version), and have had no luck.
> > If I could get any of these going in broadcast mode, I might be able  
> > to modify code to make something work.
> >
> > I've found some Pd list posts about broadcast working, but haven't  
> > been able to duplicate these results.
> > e.g.
> > http://markmail.org/thread/6bjcfzblukbynchp
> >
> > I've been working on a simple 192.168.x.x network between 2  
> > computers, with direct message sending working without problems.
> >
> > I think I'm stuck for further ideas to get broadcast working...
> >
> > Can anyone suggest a solution - or even a next move?!
> >
> > cheers
> > Nick
> 
> Nicholas Mariette
> 
> Researcher
> Audio and Acoustics group
> LIMSI-CNRS, Orsay, France
> http://www.limsi.fr/Scientifique/aa/
> http://www.limsi.fr/Scientifique/ps/thmsonesp/SonEspace
> http://soundsorange.net
> nicholas.mariette at limsi.fr
> 
> 
> 
> 
> 
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list





More information about the Pd-list mailing list