Creates a new D-Bus server that listens on the first address in address that works.
Once constructed, you can use get_client_address to get a D-Bus address string that clients can use to connect.
Connect to the new_connection signal to handle incoming connections.
The returned DBusServer isn't active - you have to start it with start.
DBusServer is used in this example.
This is a synchronous failable constructor. See DBusServer for the asynchronous version.
| address |
A D-Bus address. |
| flags |
Flags from the DBusServerFlags enumeration. |
| guid |
A D-Bus GUID. |
| observer |
A DBusAuthObserver or null. |
| cancellable |
A Cancellable or null. |
|
A DBusServer or null if throws is set. Free with unref. |