• 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: What causes a UDP listener to stop listening?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: What causes a UDP listener to stop listening?
      • From: "Quinn \"The Eskimo!\"" <email@hidden>
References: 
 >What causes a UDP listener to stop listening? (From: Michael Brian Bentley <email@hidden>)
 >Re: What causes a UDP listener to stop listening? (From: "Quinn \"The Eskimo!\"" <email@hidden>)

  • Prev by Date: Re: What causes a UDP listener to stop listening?
  • Next by Date: Re: What causes a UDP listener to stop listening?
  • Previous by thread: Re: What causes a UDP listener to stop listening?
  • Next by thread: Re: What causes a UDP listener to stop listening?
  • Index(es):
    • Date
    • Thread