> This is really strange. I'm trying to figure out this iNetLib stuff. So,
> using the palm stationary,. I wrote a small app that retrives a given URL
> via http via iNetLib, and then display the first 50 or so characters of
> the result in a field. It works ok, but sometimes the transmission never
> seems to stop. I traced through the event log (having POSE write down the
> events recevied to a file) and noticed that, in these cases, i'm never
> getting an event (such as inetStatusClosed) that signifies the
transmission
> is over. At first I thought it was transmission size, as the problem
appeared
> when the file I was trying to get went over a certain size (it was just a
> 5-line text file). But then I typed in yahoo's URL and everything worked
a-ok.



Jason, I found waiting for a status change to be unreliable.  Once I start
receiving data, the first time you try to receive and get 0 bytes, its over.
You won't necessarily get another status change message after that.




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

Reply via email to