Hi Guys ,

   I have one server program which sends data to a socket conection
piecemeal.

  On the PDA side i am receiving this data using NetLibReceive( ).

  WHAT's HAPPENING IS -----------

   At first server sends 156 bytes of data . This data is properly
received by the NetLibReceive( ). NetLibReceive( ) returns 156.

Well now when server sends another set of bytes (191 bytes) (The send
call at the server side is successful).

Now when i run the NetLibReceive( ) ( i've included NetLibReceive( )
in a while loop till it returns zero) I repeatedly get the same data
what I got at the first time (156 bytes). This continues forever.

  Socket is stream based. The buffer i've allocated to receive is
also large enough.


  Where am i going wrong. Am i missing something.

  Any Help please !!!!

Thanks
bye
-- 
______________________________________________
IndiaInfo Mail - the free e-mail service with a difference! www.indiainfo.com 
Check out our value-added Premium features, such as an extra 20MB for mail storage, 
POP3, e-mail forwarding, and ads-free mailboxes!

Powered by Outblaze

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

Reply via email to