My iPhone application uses AsyncUdpSocket to handle a UDP socket. However, when my application goes into the background in iOS 4.0 and returns to the foreground, I get the following error:
The application "MyAppName" came out abnormally with signal 13: Broken pipe
This is because my sockets are disabled when my application goes into the background.
How can I avoid this and run UDP sockets in the background?
objective-c iphone udp sockets
SP
source share