• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: waking and listening
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: waking and listening


  • Subject: Re: waking and listening
  • From: Jens Alfke <email@hidden>
  • Date: Fri, 06 Jun 2014 15:09:10 -0700


On Jun 6, 2014, at 10:30 AM, Michael Brian Bentley <email@hidden> wrote:

When the app is backgrounded and then foregrounded, the listener usually continues to work. When I sleep/lock the iPad, and then wake and unlock the iPad, when the app foregrounds, the listener often stops listening.

Yeah, the OS doesn’t want you leaving sockets open indefinitely while in the background. You’ll need to close the listener socket when the app is backgrounded, and re-open it when it’s foregrounded.

—Jens
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >waking and listening (From: Michael Brian Bentley <email@hidden>)

  • Prev by Date: waking and listening
  • Next by Date: Re: waking and listening
  • Previous by thread: waking and listening
  • Next by thread: Re: waking and listening
  • Index(es):
    • Date
    • Thread