Hi all,

Robert, Did you manage to solve your problem? I have a similar problem with NetLibSend. When sending a torrent of data (uploading files to a FTP Server), I get sometimes a timeout in NetLibSend. After this timeout, no single byte of data is sent anymore, doesn't matter how many times I try to send the data again. The only 'solution' is to close netlib, open again and start the uploads again. I first thought that maybe the TCP/IP buffer was getting full, and therefore after waiting some time I would be able to send data again. But looking in the file that were being transmitted in the FTP server, I saw that no data is received anymore. The connection seems to have been closed, although NetLibSend reports a timeout. Does anyone have had an issue like that? Have any insight of what can be happening? I can easily reproduce this problem connecting a Palm to the desktop and sharing the computer's network connection (PPP). Reproduced both with a Palm Zire 21 and a Tungsten T.
   Please, any help is really welcome.

   Luciano


Robert Baruch wrote:

Hi all,

I'm having a problem with NetLibSend and NetLibReceive. I am using NetLibSend/Receive to talk to a web server. I have been able to use the HTTP POST method to send small amounts of data (about 100 bytes), but whenever I try to send lots of data (say 2k-4k), NetLibSend reports success, but NetLibReceive times out.
According to my web server, I can see the access for the small POST, but the 
large POST doesn't even appear.

When I run the program on the Palm simulator, all posts succeed! It is only on 
the device that large posts just don't work.

Is there a problem with sending out k's of data using NetLibSend, that it would 
report success but not really send the data? Is it a problem with just the Palm 
Treo (device I'm using)?

Here is the code I'm using to do the HTTP protocol. There's a lot of stuff 
here, but the main method is at the bottom, httpPost.
<REMOVED>

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

Reply via email to