Gio.Socket.prototype.set_broadcast
function set_broadcast(broadcast: Boolean): void { // Gjs wrapper for g_socket_set_broadcast() }
Sets whether socket should allow sending to broadcast addresses. This is false by default.
Since 2.32
- broadcast
whether socket should allow sending to broadcast addresses