[sugar] Data Transport between nodes

Bert Freudenberg bert at freudenbergs.de
Sat Dec 15 03:03:53 EST 2007


On Dec 15, 2007, at 12:53 , Ivan Krstić wrote:

> On Dec 15, 2007, at 2:02 AM, Bert Freudenberg wrote:
>> Well, beginnings of "understandable" documentation are here:
>> http://wiki.laptop.org/go/Low-level_Activity_API#Tubes
>
> Hmm. Does that mean sending a file over a stream tube requires the  
> sender to bind a socket which, when connected to, starts spewing  
> back the file contents? That seems awfully awkward.

Stream tubes are nothing more than socket forwarding/tunneling a TCP  
connection, so yes, you're on your own.

What the Read activity does is actually run a Web server, and making  
that available as a stream tube. At least this does not invent a new  
protocol ...

- Bert -



More information about the Sugar mailing list