address_get_stream_sync


Description:

public IOStream address_get_stream_sync (string address, string out_guid, Cancellable? cancellable = null) throws Error

Synchronously connects to an endpoint specified by address and sets up the connection so it is in a state to run the client-side of the D-Bus authentication conversation.

This is a synchronous failable function. See address_get_stream for the asynchronous version.

Parameters:

address

A valid D-Bus address.

out_guid

null or return location to store the GUID extracted from address, if any.

cancellable

A Cancellable or null.

Returns:

A IOStream or null if throws is set.


Namespace: GLib.DBus
Package: gio-2.0