Re: What causes a UDP listener to stop listening?
Re: What causes a UDP listener to stop listening?
- Subject: Re: What causes a UDP listener to stop listening?
- From: Michael Brian Bentley <email@hidden>
- Date: Fri, 02 Oct 2015 08:28:02 -0700
iOS. I have a UDP listener watching for broadcasts of a datagram whose
size is both under 100 bytes and does not vary. The broadcasts occur
every second.
-Mike
On 10/2/15 12:04 AM, Quinn "The Eskimo!" wrote:
On 2 Oct 2015, at 00:28, Michael Brian Bentley <email@hidden> wrote:
Just a general question: what causes a UDP listener to be listing for broadcasts at 255.255.255.255, be working for a while (could be hours) and then just stop listening?
What platform are you working on?
The one non-obvious reason for problems like this is socket resource reclaim on iOS, as described in Technote 2277 "Networking and Multitasking".
<https://developer.apple.com/library/ios/#technotes/tn2277/_index.html>
Share and Enjoy
--
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
_______________________________________________
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
_______________________________________________
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