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/6bjcfzblukbynchpI'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@limsi.fr