Gio.Socket.prototype.set_multicast_ttl
function set_multicast_ttl(ttl: Number(guint)): void { // Gjs wrapper for g_socket_set_multicast_ttl() }
Sets the time-to-live for outgoing multicast datagrams on socket. By default, this is 1, meaning that multicast packets will not leave the local network.
Since 2.32
- ttl
the time-to-live value for all multicast datagrams on socket