InetAddress.newFromString

gio.inet_address.InetAddress newFromString(string string_)

Parses string as an IP address and creates a new #GInetAddress.

Parameters

string_a string representation of an IP address

Returns

a new #GInetAddress corresponding

to string, or null if string could not be parsed. Free the returned object with [gobject.object.ObjectWrap.unref].