NodedgramSocket.prototype.setBroadcastmethod Socket.prototype.setBroadcast#Socket.prototype.setBroadcast(flag: boolean): voidSets 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. Parameters ##flag: booleanReturn Type #void
method Socket.prototype.setBroadcast#Socket.prototype.setBroadcast(flag: boolean): voidSets 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. Parameters ##flag: booleanReturn Type #void