Gio.InetAddress.new_from_string
function new_from_string(string: String): Gio.InetAddress {
// Gjs wrapper for g_inet_address_new_from_string()
}
Parses string as an IP address and creates a new Gio.InetAddress.
Since 2.22
- string
a string representation of an IP address
- Returns
a new Gio.InetAddress corresponding to string, or null if string could not be parsed.