Gio.Socket.prototype.get_broadcast

function get_broadcast(): Boolean {
    // Gjs wrapper for g_socket_get_broadcast()
}
  

Gets the broadcast setting on socket; if true, it is possible to send packets to broadcast addresses.

Since 2.32

Returns

the broadcast setting on socket