The best you can do is to set your timeouts to (x * SysTicksPerSecond()) 
(where x is the number of second you will wait until timeout), this way you 
can measure your times more acurately, and you will ensure more 
compatibility, becuase they are a lot of PalmOS based device that had 
diferent TicksPerSecond, so if you are setting the timeout to 800 ticks, on 
your test enviroment works but on newer and faster devices could not work as 
expected.

Eduardo Orea.


"Troy Lokitz" <[EMAIL PROTECTED]> escribió en el mensaje 
news:[EMAIL PROTECTED]
> If you set the timeout to -1 is it true that it will never time out?  I am 
> making a bunch of netlib calls in my program and up until now have been 
> setting it to 800.  It seems like it works well.  Do you recommend setting 
> it to -1 or coming up with a certain amount of ticks that works for you.
>
> Thanks,
> Troy
> 



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

Reply via email to