On 28/03/12 10:28, Kim Alvefur wrote:
I've been thinking about using Jingle to set up a TCP connection between the
peers, and the talking HTTP over it.
I actually want some generic "just give me a tcp socket" Jingle application for
tunneling whatever, like ssh, vnc or git or other dvcs protocol (hg uses http).
For what it's worth, we have something like this in Gabble, the XMPP
backend for Telepathy, which we call a “stream tube”. It's currently
implemented using SI, since it predates our Jingle stack.
http://telepathy.freedesktop.org/xmpp/tubes.html is a rough definition
of the protocol. (You'll see that we also support speaking D-Bus over
that socket.)
If other XMPP clients are considering a Jingle-based “give me a socket”
extension, it would be nice to interoperate (if possible).
(It could be similar to Google's Jingle-based file transfer mechanism,
which as I understand it negotiates a pseudo-TCP session and then speaks
HTTP over it. We have an implementation of that:
http://cgit.freedesktop.org/telepathy/telepathy-gabble/tree/src/gtalk-file-collection.c
).
--
Will
_______________________________________________
JDev mailing list
Info: http://mail.jabber.org/mailman/listinfo/jdev
Unsubscribe: jdev-unsubscr...@jabber.org
_______________________________________________