InetAddress.from_string
Description:
[ CCode ( has_construct_function = false ) ]
[ Version ( since = "2.22" ) ]
public InetAddress.from_string (string string)
[ Version ( since = "2.22" ) ]
public InetAddress.from_string (string string)
Parses string as an IP address and creates a new InetAddress.
If address is an IPv6 address, it can also contain a scope ID (separated from the address by a `%`). Note that currently this
behavior is platform specific. This may change in a future release.
Parameters:
| string |
a string representation of an IP address |
Returns:
|
a new InetAddress corresponding to |