[Telepathy] P2P tubes on link-local (Salut)

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Thu May 22 05:12:02 PDT 2008


Le jeudi 22 mai 2008 à 12:52 +0100, Alban Crequy a écrit :
> I've written a diagram for link-local peer-to-peer stream tubes:
> 
> http://people.collabora.co.uk/~alban/d/2008/05/salut-stream-tube/salut-stream-tube.png
> http://people.collabora.co.uk/~alban/d/2008/05/salut-stream-tube/salut-stream-tube.msc
> 

nice diagram :)

> A TCP or Unix connection can be established only when the other end
> listens on the socket. The other end MUST listen on the socket
> causally before the connection attempt. The above diagram shows
> TCP/Unix connections, D-Bus messages and XMPP stanzas. Each kind of
> message can travel at different speed.
> 
> Proposed rules to avoid race conditions:
> 
> 1. The web server MUST listen for connections from the CM before
> offering the stream tube.
> 

agree

> 2. The initiator CM MUST listen for connections from the receptor CM
> before sending the XMPP IQ stanza set.
> 

humm, I think so, yes

> 3. The receptor CM MUST listen for connections from the Web browser
> before sending the TubeStateChanged D-Bus signal.
> 

agree


	G.



More information about the Telepathy mailing list