For streaming I/O to a TCP socket, if you restrict your self to the Flash runtime, you can use the Flash XMLSocket API , which has some restrictions, such as it must use TCP ports above 1024 I think. <br><br>The API can be found in the Flash reference manual, it is not officially a supported API in OpelLaszlo though. <br>
<br>We used this API for one of the remote debugger protocols at one point. There is still some code in the debugger implementation for it I think, which could be used as an example. <br><br><br><div class="gmail_quote">On Thu, May 8, 2008 at 12:35 AM, Evaldas Taroza <<a href="mailto:etaroza@optaros.com">etaroza@optaros.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Dear OL users,<br>
<br>
I am pretty new to OL. What I am trying to achieve is to open a socket to a host (crossdomain) and read incoming textual data.<br>
<br>
Incoming data will most likely be an XML document, but I don't want to read the whole document, I rather need to deal with it as it comes, in a streaming manner. How can I achieve this?<br>
<br>
Thank you very much for help!<br>
<br>
Evaldas<br><font color="#888888">
<br>
-- <br>
+41 79 616 53 76<br>
<a href="http://www.linkedin.com/in/taroza" target="_blank">www.linkedin.com/in/taroza</a><br>
<br>
Optaros - <a href="http://www.optaros.com" target="_blank">www.optaros.com</a><br>
<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Henry Minsky<br>Software Architect<br><a href="mailto:hminsky@laszlosystems.com">hminsky@laszlosystems.com</a><br><br>