Greetings!

I am connecting my palm to a server using tcp/ip and netlib libraries.
I have to do a asynchronous data receive so I have used NetLibSelect in the
event loop.
But I have to set a valid timeout value(not a wait forever) in the
EvtGetEvent() function for this to work.
Now my concern is that when we have wait forever, the os automatically puts
the cpu is doze mode so there is a lot of power saving but since I have to
put some value there I would loose out on this saving.
So what should be the optimal value for time out in my case?

Also what will happen if I have a large timout value and so before I handle
the first data "packet" the other one arrives. What will I get when I do a
NetLibReceive() after this?


Cheers,
Nihar





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

Reply via email to