[PD-dev] [ pure-data-Bugs-2069948 ] netsend udp broadcast permission denied
SourceForge.net
noreply at sourceforge.net
Sat Aug 23 19:27:27 CEST 2008
Bugs item #2069948, was opened at 2008-08-23 17:27
Message generated for change (Tracker Item Submitted) made by Item Submitter
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)
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=478070&aid=2069948&group_id=55736
More information about the Pd-dev
mailing list