Problem with Stream Tubes over the Mesh

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Mon May 26 04:43:57 EDT 2008


Le lundi 26 mai 2008 à 09:06 +0200, Urko Fernandez a écrit :
> Hello there,
> 
> I've used the same Read code to implement stream tubes on my activity,
> but changed to D-Bus tubes afterwards to share the file as explained
> here:
> http://dev.laptop.org/ticket/4051
> You can find my code here:
> http://dev.laptop.org/git?p=activities/assimilate;a=summary
> It may happen that some sort of NAT or firewall is not allowing the
> stream tube to work properly. 


Stream tubes can be use in server mode (when connected to a jabber
server using Gabble) or in link local mode (without server, using
Salut).

In the first case, we don't do NAT penetration yet (it's planned see
#4047) so all the data go through the server, making big transfer slow.

In the second case, we don't need NAT penetration as peers are on the
same network and so can communicate directly. So we use a raw TCP
connection to transfer stream tubes's data.


	G.




More information about the Devel mailing list