From 229777322e57c4d9ea2cadaa739d5f08bd500fda Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Fri, 2 Nov 2007 16:15:42 +0000 Subject: Document mDNS use for Clique 20071102161542-53eee-04b8dc960267284d00fd5b7a6e3024c22b755ba9.gz --- docs/clique.xml | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 55 insertions(+), 3 deletions(-) (limited to 'docs') diff --git a/docs/clique.xml b/docs/clique.xml index 6e3fe00a..75ca8303 100644 --- a/docs/clique.xml +++ b/docs/clique.xml @@ -33,7 +33,30 @@ -

Clique is an extension of XEP-0174 to support multi-user chat.

+

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.

@@ -42,10 +65,39 @@

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 224.0.0.66, port 13251.

+ + + + + +

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 -- cgit v1.2.1