Vu, A zero zero length tcp segment, is equivalent simply to a packet used in cases of urgent notifications against a tcp peer by sending zero-length packets thru the tcp session. In this case the packet seems to be sending a RST (reset) again by using a zero window (common term in sniffer decoders for zero length packets).
Somtimes a RST could simply mean a faster way to finish a tcp conversation (instead of the typical FIN handshake). Since the buffer im trying to transmit havcent finished by the time the RST comes i believe the prob could be related with the NetLib implementation when trying to do streaming over http sessions. In brief, im unable to recieve a buffer using streaming http connections from the Palm since the connection is simply dropped brefore the message is fully recived without a single notification of connection lost from netlib or any higher level api :( Thanks for any help, Nahum ----- Original Message ----- From: "Nahum Rosinsky" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Thursday, January 15, 2004 7:23 PM Subject: netlib strange issues > While trying to establish an http tcp streaming connection from the PalmSim > or real device, I simply get a connection drop just (probably originated at > the palm side) just after sending or recving zero lenght tcp segments, even > when at the server side tcp chunks r still being sent.... > > Is there anyone else experiencing this kind of behaviour (im pretty sure > this is netlib fault once more)??? or are there any known issues after 5.2 > related with this? > > Any help from working with streaming connections, xml or syncronization > areas would be highly appreciated > Nahum, Could you please explain more the "zero length tcp segment " ? I 've intensively used tcp over NetLib, with and without NetLibSelect() and I 've not met that problem.( My apps all send/receive data from database servers thru tcp connection ). Currently I use the Treo600 device, Treo600 simulator, Tungsten C simulator for testing. Vu -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/