Gio.Socket.prototype.set_multicast_loopback

function set_multicast_loopback(loopback: Boolean): void {
    // Gjs wrapper for g_socket_set_multicast_loopback()
}
  

Sets whether outgoing multicast packets will be received by sockets listening on that multicast address on the same host. This is true by default.

Since 2.32

loopback

whether socket should receive messages sent to its multicast groups from the local host