parseUri

fun parseUri(uri: String, defaultPort: <Error class: unknown class>): <Error class: unknown class><NetworkAddress>

Creates a new #GSocketConnectable for connecting to the given

Return

the new #GNetworkAddress, or null on error

Since

2.26

Parameters

uri

the hostname and optionally a port

defaultPort

The default port if none is found in the URI