[ Version ( since = "3.12" ) ]
public async bool can_reach (Cancellable? cancellable = null) throws Error
Asynchronously attempts to determine whether or not the host described by this's connectable property can be reached, without actually trying to connect to it.
For more details, see can_reach_sync.
When the operation is finished, callback
will be called. You can then call can_reach.end to get
the result of the operation.
this | |
cancellable |
optional Cancellable object, or null |
callback |
a TaskReadyCallback to call when the request is satisfied |
user_data |
data to pass to the callback function |