This is the asynchronous version of connect_to_host.
When the operation is finished callback will be called. You can then call connect_to_host_async.end
to get the result of the operation.
| this | |
| host_and_port |
the name and optionally the port of the host to connect to |
| default_port |
the default port to connect to |
| cancellable |
a Cancellable, or null |
| callback | |
| user_data |
user data for the callback |