Gio.InetAddress.new_any

function new_any(family: Gio.SocketFamily): Gio.InetAddress {
    // Gjs wrapper for g_inet_address_new_any()
}
  

Creates a Gio.InetAddress for the "any" address (unassigned/"don't care") for family.

Since 2.22

family

the address family

Returns

a new Gio.InetAddress corresponding to the "any" address for family.