dbusAddressGetStreamSync

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. address must be in the D-Bus address format.

A server is not required to set a GUID, so out_guid may be set to null even on success.

This is a synchronous failable function. See gio.global.dbusAddressGetStream for the asynchronous version.

dbusAddressGetStreamSync

Parameters

address string

A valid D-Bus address.

outGuid string

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

cancellable gio.cancellable.Cancellable

A #GCancellable or null.

Return Value

Type: gio.iostream.IOStream

A #GIOStream or null if error is set.