The https api should do all that for you - unless you are using the raw
socket api.

-----Original Message-----
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Carl Dula
Sent: 01 March 2012 11:10
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] XML arrays

We do this in uv, but it is most likely the same in unidata.

When receiving the XML you get a "chunk" (buffer) full at a time. You must
save
(write) this buffer to a file or other array, and then go back and get more
until it is done. Basically, receive, write, repeat (loop). You might ask
how do you know when it is done? Well, we test for content in the received
buffer. For example, we test (FINDSTR) for the string </cXML>, which
typically ends an xml file. When we see this we know the sender is done.
Also, don't forget that the sender will wait for an (XML) acknowledgement
that you got it all, that you must send back

--------------------------------------------------------------
Carl Dula                       Voice: 973-227-8440 X111
Pulsar Systems, Inc.            Fax: 973-227-8440
271 US Highway 46, STE H209     email:c...@pulsarsystems.com
Fairfield, NJ 07004-2474        http://www.pulsarsystems.com 


_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users
-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1424 / Virus Database: 2113/4843 - Release Date: 02/29/12

_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to