Note that you can't append all of the recieved chunks together and decompress them all at once - each must be done separately, just as they were compressed separately.
If you compress individual (small) chunks the compression ratio will be worse compared to compressing one large block ... in several steps. You will get the best compression when you use deflate with Z_NO_FLUSH and then Z_FINISH on the last block.
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
