Wraps [method@Gio.
SocketClient.connect_to_host_async].
| socket_client |
a [class@Gio.SocketClient] |
| host_and_port |
host and optional port to connect to |
| default_port |
default port to use |
|
a [class@Dex.Future] that resolves to a [class@Gio.SocketConnection] or rejects with error. |