On 9 Sep 2015, at 10:20, Andreas Fink <af...@list.fink.org> wrote:

> What is the best approach to run a system daemon which listens on a protected 
> port ( < 1000) while the App is delivered through the AppStore (and hence is 
> sandboxed).

In addition to what Stéphane said, there's still no Mac App Store-compatible 
way for an app to bind to low-numbered ports.  The obvious approach, binding 
directly to the port, won't work because OS X still requires root for binding 
to low-numbered ports (despite the fact that we lifted that restriction on iOS 
years ago).  Other approaches, like using a launchd daemon privileged helper 
tool, are not compatible with the Mac App Store sandboxing requirements.

I'm sorry I don't have better news.

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      (Macnetworkprog@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/macnetworkprog/archive%40mail-archive.com

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

Reply via email to