setBroadcast
Sets or clears the SO_BROADCAST
socket option. When set to true
, UDP packets may be sent to a local interface's broadcast address.
This method throws EBADF
if called on an unbound socket.
Since
v0.6.9
Sets or clears the SO_BROADCAST
socket option. When set to true
, UDP packets may be sent to a local interface's broadcast address.
This method throws EBADF
if called on an unbound socket.
v0.6.9