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 <omer.gi...@gmail.com> 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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to