[ 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.
this |
a Service |
cancellable |
optional Cancellable object, or null |
true if the connection is made or false otherwise |