connect_sync


Description:

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

Synchronously requests activation of a packet data connection with the network using this Bearer properties.

The calling thread is blocked until a reply is received. See connect for the asynchronous version of this method.

Parameters:

this

A Bearer.

cancellable

A Cancellable or null.

Returns:

true if the operation succeeded, false if error is set.




2022 vala-language.org