InetAddress.from_string


Description:

[ CCode ( has_construct_function = false ) ]
[ Version ( since = "2.22" ) ]
public InetAddress.from_string (string string)

Parses string as an IP address and creates a new InetAddress.

Parameters:

string

a string representation of an IP address

Returns:

a new InetAddress corresponding to string, or null if string could not be parsed. Free the returned object with unref.