connect_sync


Description:

[ Version ( since = "3.6" ) ]
public virtual bool connect_sync (Cancellable? cancellable = null) throws Error

Connects this to a remote server using the information in its settings instance.

If a connect operation is already in progress when this function is called, its results will be reflected in this connect operation.

Parameters:

this

a Service

cancellable

optional Cancellable object, or null

Returns:

true if the connection is made or false otherwise