[ CCode ( has_construct_function = false , type = "GSocketAddress*" ) ]
[ Version ( since = "2.40" ) ]
public InetSocketAddress.from_string (string address, uint port)
Creates a new InetSocketAddress for address
and port
.
If address
is an IPv6 address, it can also contain a scope ID (separated from the address by a `%`).
address |
the string form of an IP address |
port |
a port number |
a new InetSocketAddress, or null if
|