Gio.InetSocketAddress.prototype.get_scope_id

function get_scope_id(): Number(guint32) {
    // Gjs wrapper for g_inet_socket_address_get_scope_id()
}
  

Gets the `sin6_scope_id` field from address, which must be an IPv6 address.

Since 2.32

Returns

the scope id field