Gio.InetAddress.new_loopback
function new_loopback(family: Gio.SocketFamily): Gio.InetAddress { // Gjs wrapper for g_inet_address_new_loopback() }
Creates a Gio.InetAddress for the loopback address for family.
Since 2.22
- family
the address family
- Returns
a new Gio.InetAddress corresponding to the loopback address for family.