[Laszlo-user] Open a socket and read/write text
Geoff Crawford
geoff at innov8cs.com
Thu May 8 04:29:37 PDT 2008
At 12:35 AM 5/8/2008, Evaldas Taroza 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?
>
If it's an XML document, by all means simply use the built-in
Dataset. Set the attributes to not load initially. Then
at the time you actually want to grab the XML, manually
load the dataset. Code examples of loading the dataset
after initialization are in the docs. (and lots of
examples in the forums or this list if you do a search)
Geoff Crawford
geoff at innov8cs.com
More information about the Laszlo-user
mailing list