I am having a similar problem on Honeycomb 3.0 on an Acer Iconia. I'm
using broadcast (rather than multicast) but everything is sent/
received properly when the device is awake but fails when the device
sleeps. What's interesting is my open sockets appear to behave
properly... it's just broadcast that seems to fail. I'm doing
everything from a service and my starting activity creates a wake
lock, a wifi lock, a multicast lock as well as calling
Service.startForeground().

On Apr 29, 7:14 am, frioux <[email protected]> wrote:
> Hello,
>
> I have a background service that needs to receivemulticastpackets
> from the network via Wifi. Receive calls on the MulticastSocket object
> work fine when the phone is "alive". However, as soon as the phone
> sleeps (blank screen), the receive call never returns.
>
> I am using a PARTIAL_WAKE_LOCK in order to keep the CPU alive, a
> WifiLock as well as a MulticastLock. In addition, the Wifisleep
> policy is set to "Never".
>
> Has anybody encountered this problem?
>
> I am using a Nexus One that runs Android 2.3.3.
>
> 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