> I'm slightly confused by your statement. Do you mean:
>
> 1) You try to communicate, and the socket opens, but get 0 bytes,
indicating
> some type of failure?
>
> or
>
> 2) The socket opens, data is transferred, and then 0 bytes are
received,
> indicating the transmission is done?
>
> I believe you mean the second. I simply want to make sure this is what
you
> intended to say.
>
> And if #2 is the case, how do I know that 0 bytes isn't some type of
stall?

#2 was what I meant... once you start receiveing data, getting a 0 means
its over.

As for stalls -- I've not had problems with that.  Once data starts
arriving, I read data, wait for another event, and let the
inetSockReadyEvent tell me that I still have data to fetch.  Eventally,
I'll get that event, and when I read I'll get 0 bytes.  When that
happens, it is all done.



-- 
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