Yes, the CPU is OFF when the device goes to sleep. The socket is non-
responsive at this time.
Hope that helpps.

On Dec 28 2009, 8:52 pm, Omer Gilad <[email protected]> wrote:
> I have code that runs in the background and holds a connected Socket
> and it's InputStream.
> It calls read() infinitely until something is received, then continues
> to parse. Socket timeout is 0 of course.
>
> I am interested in what would happen when the device goes to sleep? Is
> the CPU off? Will this socket be responsive in this case (Say, my
> server sends some notification)?
>
> Thanks
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to