Creates a new D-Bus server that listens on the first address in
address that works.
Once constructed, you can use g_dbus_server_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 GDBusServer isn't active - you have to start it with
g_dbus_server_start().
See Example 6, “D-Bus peer-to-peer example” for how GDBusServer can
be used.
This is a synchronous failable constructor.
Since 2.26
Creates a new D-Bus server that listens on the first address in address that works. Once constructed, you can use g_dbus_server_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 GDBusServer isn't active - you have to start it with g_dbus_server_start(). See Example 6, “D-Bus peer-to-peer example” for how GDBusServer can be used. This is a synchronous failable constructor. Since 2.26