Gio.Socket.prototype.get_multicast_ttl

function get_multicast_ttl(): Number(guint) {
    // Gjs wrapper for g_socket_get_multicast_ttl()
}
  

Gets the multicast time-to-live setting on socket; see Gio.Socket.prototype.set_multicast_ttl for more details.

Since 2.32

Returns

the multicast time-to-live setting on socket