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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to