Try to break the whole 4k data block in small chunks and send them in a loop with a delay after each chunk sent. Asynchronous transfer with any kind of client-server handshaking may be necessary.
I've got a similar problem and found out that low throughput via modem connection is a problem. Breaking large blocks (originally I used 4k blocks too) in small ones (less then 512) and a delay after each chunk helped. Please let us know if your problem fixed. ja> i was able to receive the data once when the data was more ja> than 512 bytes, after that, the device restarts automatically when ja> NetLibReceive function is called again. ja> i am using a bluetooth connection. the server and the device ja> communicates using the access point. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
