• 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: iOS4: UDP sockets in the background
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: iOS4: UDP sockets in the background


  • Subject: Re: iOS4: UDP sockets in the background
  • From: Robert Vojta <email@hidden>
  • Date: Fri, 25 Jun 2010 00:19:04 +0200

On 23.6.2010, at 20:15, Gerd Knops wrote:

> I have been doing that without a problem since early iOS 3, so no reason to expect it would stop working in iOS4.


FYI, doc quote ...

Cancel any Bonjour-related services before being suspended. When your application moves to the background, and before it is suspended, it should unregister from Bonjour and close listening sockets associated with any network services. A suspended application cannot respond to incoming service requests anyway. Closing out those services prevents them from appearing to be available when they actually are not. If you do not close out Bonjour services yourself, the system closes out those services automatically when your application is suspended.

Be prepared to handle connection failures in your network-based sockets. The system may tear down socket connections while your application is suspended for any number of reasons. As long as your socket-based code is prepared for other types of network failures, such as a lost signal or network transition, this should not lead to any unusual problems. When your application resumes, if it encounters a failure upon using a socket, simply reestablish the connection._______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • RE: iOS4: UDP sockets in the background
      • From: Angelica Grace Tanchico <email@hidden>
References: 
 >iOS4: UDP sockets in the background (From: Angelica Grace Tanchico <email@hidden>)
 >Re: iOS4: UDP sockets in the background (From: Gerd Knops <email@hidden>)

  • Prev by Date: Re: Restoring a NSTreeController selection
  • Next by Date: Re: can we have own application logo for ad-hoc release.
  • Previous by thread: Re: iOS4: UDP sockets in the background
  • Next by thread: RE: iOS4: UDP sockets in the background
  • Index(es):
    • Date
    • Thread