First draft.
Clique is an extension of XEP-0174 to support multi-user chat. It consists of the following components:
The chat room behaves a lot like XMPP, and namespaces used in XMPP have their usual semantics. However, instead of a stream of XML as in XMPP, Clique's XMPP-like messages are individually well-formed XML documents.
XEP-0174 instance names are used for identification in a chat room.
The Clique XML namespace can also be used for certain elements sent over XEP-0174 unicast TCP streams, for instance to send invitations.
STRONGLY RECOMMENDED.
OPTIONAL.
FIXME: there need to be some examples of the actual Clique protocol here
In this example a chatroom called "Witchcraft" uses the multicast group 239.255.71.66, port 13251 (arbitrarily chosen).
We recommend that chatrooms use a random high port number in a random multicast group in the range 239.255.71.x.
In this example crone@desktop invites hecate@broom to the chatroom given above.
This would work just as well if the chatroom was not advertised in mDNS; this can be used to make "private" chatrooms. Note however that anyone with a network traffic sniffer can see the chatroom itself.
Witchcraft
239.255.71.66
13251
We need to plot Macbeth's doom, but the XMPP server is
down
You got a Clique chatroom invitation
]]>
OPTIONAL.
OPTIONAL.
OPTIONAL.
REQUIRED.
REQUIRED.
None.
]]>