Hy all!

I'm including the network abilities to my Palm application. But, I have some
questions about the way the the palm and the server exchanges data.

1- I need to call NetLibSend repeatedly to send the information from the
palm to server. The data is stored in the buffer sucefully, and after my
loop ends, i need to close te connection. On the Emulator, all works fine,
but on the device, only the firsts recs arrive to server. This, because I
close the NetLib before all data that is in Palm's buffer have been sent.
So, how can i know if all data that is in the buffer is already sent to the
server? Will i need to send a Flag as the last info and, when the server
receives this it answer with another flag?


2 - When the data is already in the Palm's Buffer(the data is already put on
the buffer, with NetLibSend, that return me no error, normaly...), which
function will return me an error if a the data can't be send from palm's
buffer to the server? Will i need to make use of Flags here too?

Thanks all!

Regis Daniel de Oliveira



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to