Michael,

If the data you want to stream through a WFileResource is in fact a
real file on a file system of your embedded system, you can also
consider to simply link to it with an anchor (either <a> or a
WAnchor). Wt will stream the file asynchronously without consuming
large buffers, and it won't occupy a thread for the duration of the
file download.
If you generate the data on the fly, this is of course not possible.

Regards,
Wim.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to