[Laszlo-user] Open a socket and read/write text
Henry Minsky
henry.minsky at gmail.com
Thu May 8 04:49:07 PDT 2008
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.
The API can be found in the Flash reference manual, it is not officially a
supported API in OpelLaszlo though.
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.
On Thu, May 8, 2008 at 12:35 AM, Evaldas Taroza <etaroza at optaros.com> wrote:
> Dear OL users,
>
> 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.
>
> 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?
>
> Thank you very much for help!
>
> Evaldas
>
> --
> +41 79 616 53 76
> www.linkedin.com/in/taroza
>
> Optaros - www.optaros.com
>
>
--
Henry Minsky
Software Architect
hminsky at laszlosystems.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openlaszlo.org/pipermail/laszlo-user/attachments/20080508/561b6de4/attachment.html
More information about the Laszlo-user
mailing list