connect_to_service_async


Description:

public async SocketConnection connect_to_service_async (string domain, string service, Cancellable? cancellable = null) throws Error

This is the asynchronous version of connect_to_service.

Parameters:

this

a SocketClient

domain

a domain name

service

the name of the service to connect to

cancellable

a Cancellable, or null

callback

a TaskReadyCallback

user_data

user data for the callback