Bugs item #2069948, was opened at 2008-08-23 19:27
Message generated for change (Comment added) made by zmoelnig
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478070&aid=2069948&group_id=55736

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: puredata
Group: v0.41.0
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: ClaudiusMaximus (claudiusmaximus)
Assigned to: Nobody/Anonymous (nobody)
Summary: netsend udp broadcast permission denied

Initial Comment:
"connect 192.168.1.255"--[netsend 1]
  =>
connecting stream socket: Permission denied (13)


seems the default value of the socket option SO_BROADCAST has changed in recent 
Linux [1], so must now be set explicitly if desired.


>From "man 7 socket" on Debian/Lenny

       SO_BROADCAST
              Set or get the broadcast flag.  When enabled,  datagram  sockets
              receive packets sent to a broadcast address and they are allowed
              to send packets to a broadcast  address.   This  option  has  no
              effect on stream-oriented sockets.


depending on OS, setting SO_BROADCAST may be disallowed anyway, but as far as I 
can tell it does no harm to try to enable it (only affects UDP to broadcast 
address, does nothing for non-UDP or non-broadcast-address)


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

Comment By: IOhannes m zmlnig (zmoelnig)
Date: 2008-11-04 17:26

Message:
the attached diff adds the requested functionality (properly escaped by
ifdefs) to "udpsend"

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478070&aid=2069948&group_id=55736

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

Reply via email to