At 05:48 AM 9/12/2003, Luc Le Blanc wrote:
Ben Combee a �crit :

> Is your application on the receiving device?  If so, you can make your own
> wire format that can hold multiple records, and you'll decode that into a
> set of records in your beam receive logic.

Yes, my application has an exclusive use of this data, thus it is the one
receiving it. I have already defined a structure to pack my records into a 4K
chunk (or any other size) that I beam iteratively. But if I have to send
everything at once, I would then initially allocate this chunk to be as big as
the DB itself, which may end up more than 64K, to hold everything I'm beaming.
That means I have to allocate the same kind of buffer on the receiving device
too. Can't it be too big, especially if my application is not the one
currently running on the receiving device?

Hint: the FileOpen/FileRead/FileWrite/FileClose APIs were added to Palm OS to give the Exchange Manager an unlimited-length buffer to store data on the local device when converting databases into PRC and PDB files for beaming.


--
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com



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

Reply via email to