Creates a new GSocketConnectable for connecting to the given uri. May fail and return NULL in case parsing uri fails.
Using this rather than NetworkAddress.new or NetworkAddress.parse allows gio.SocketClient to determine when to use application-specific proxy protocols.
the hostname and optionally a port
The default port if none is found in the URI
the new gio.NetworkAddress, or NULL on error
GException on failure.
2.26
Creates a new GSocketConnectable for connecting to the given uri. May fail and return NULL in case parsing uri fails.
Using this rather than NetworkAddress.new or NetworkAddress.parse allows gio.SocketClient to determine when to use application-specific proxy protocols.