2003-02-19 Havoc Pennington <hp@pobox.com>
[platform/upstream/dbus.git] / doc / negotiation.txt
1 Negotiation
2 ===========
3
4 Before any client is allowed to talk to other clients, it must
5 register itself with the bus. Currently this is done by sending the
6 "org.freedesktop.DBus.Hello" message to the "org.freedesktop.DBus"
7 service. This service is provided by the D-Bus daemon and therefore
8 always exists. 
9
10 The first field of the Hello message is a string containing a
11 name. The bus driver will then append a dash and a number to make the
12 client name unique and send a "Welcome" message back. It could also
13 send an "Error" message back, for example if the client tries to
14 register twice.
15