[EMAIL PROTECTED] wrote:
I have string of 440000 bytes which should be sent at one shot using HTTP post.
As iNet library is not found on Treo, I am using NetLib.
And as Memory allocation on Palm cant be above 32000 bytes i have to send it
part by part using NetLib but it is not working when done in a loop.
So please suggest any thing for HTTP Post using NetLIb or any other alternative.
How are you looping?
You can not simply loop making repeated calls to NetLibSend
i.e :-
while (!AllSent)
{
NetLisbSend()
}
NetLib will buffer a small amount of data for you, but 400+Kb will take
a long time to send, You will fill netlibs buffers and it will return an
error untill it has flushed its buffers to make space for more data.
Also a small loop like this will stop the event loop for being proccessed.
Take a look at NetLibSelect.
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see http://www.access-company.com/developers/forums/