Greetings!
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.
So it seems as though this may be a problem of a misconfigured web-server. It's the
first thing that comes to mind. As far as I know, the OS is responsible for sending
events that signify the transmission is done, correct? What would be some of the
common reasons this is not sent?
And I did a search on the archives with "inetStatusClosed" and other events from the
struct and it turned up nothing.
I also tried the same prc with a real Palm VII and the same thing happened, although
for obvious reasons I don't have an event log. ;-)
-Jason
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/