You should probably send it in chunks of around 4000bytes since that should be close to the MTU size. This reduces protocol overhead and significantly speeds you transmission time. It may also eliminate your error.

Micky MeNeZeS wrote:

Hi,

I am developing a simple HTTP like server which will send the contacts to the HTTP client (browser)

Over Bluetooth (Pan) or WLAN

I can send single contact properly.

But sending more than 100 contacts hangs the device.

While debugging the device I did not find any error.

So do have to set/configure the NetLib so that I can send large amount of data.

How to set maximum time and size of the data to be send in NetLib?

Again while sending the data I use NetLibSend API for every field in the contact record.

Suppose if there are 10 fields in a contact record then to send this contact I am using NetlibSend for 10 times.

Please suggest

Thanks and Regards

Micky MeNeZes.


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

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

Reply via email to