Anyone set up a client/server application using stream tubes?
Faisal Anwar
fanwar at mediamods.com
Mon Oct 27 11:29:24 EDT 2008
Thanks, I'll check out Etoys further to see how it is done there. I've
looked through Read already and have already documented a similar pattern in
the Almanac. I was hoping to document some more advanced uses of stream
tubes where users can share binary or large-sized data on demand (rather
than just at startup for initializing an activity, which is what is done in
Read). I've been finding it epecially challenging to use the stream tubes in
conjunction with threads, which would allow such repeated sharing to occur
without blocking the larger functionality of the activity.
Best,
Faisal
On Mon, Oct 27, 2008 at 7:22 AM, Bert Freudenberg <bert at freudenbergs.de>wrote:
>
> Am 27.10.2008 um 11:23 schrieb Guillaume Desmottes <
> guillaume.desmottes at collabora.co.uk>:
>
> Le vendredi 24 octobre 2008 à 14:18 +0000, Faisal Anwar a écrit :
>>
>>> Hi All,
>>>
>>> I'm trying to document some more stuff related to Stream Tubes for the
>>> sugar almanac (http://wiki.laptop.org/go/Sugar_Almanac) and wanted to
>>> set up some examples related to the different types of client/server
>>> arrangments that can be supported by the sugar.network package.
>>> However, I've been having some trouble getting a client/server
>>> application up an running on a stream tube through threading. Has
>>> anyone else tried this and could you point me to some example code?
>>>
>>> One example of what I would like to be able to do: create a
>>> continuously running http server on one XO that can send files to
>>> requests from a client XO. I have created a server that can do this
>>> once, but when I try to get it to repeatedly listen for client
>>> requests, I am not able to get things working.
>>>
>>> Any help would be greatly appreciated!
>>>
>>
>>
>> Hi,
>>
>> AFAIK, Read is currently the only OLPC activity using stream tubes
>>
>
> Etoys uses stream tubes, too.
>
> - Bert -
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.laptop.org/pipermail/devel/attachments/20081027/155c5dc1/attachment.html>
More information about the Devel
mailing list