Re: [launchd-dev] LaunchAgent best practice for turning "off" sockets

2016-03-31 Thread Quinn "The Eskimo!"
On 30 Mar 2016, at 22:26, Mitchell Laurren-Ring wrote: > How about ignoring the socket when I’m adding my sockets to the kevent queue? That'll certainly work. The potential gotcha is that a pending connection to this socket is considered 'demand' by launchd, and thus will keep your daemon ru

Re: [launchd-dev] LaunchAgent best practice for turning "off" sockets

2016-03-30 Thread Mitchell Laurren-Ring
How about ignoring the socket when I’m adding my sockets to the kevent queue? Obviously, my Bonjour socket will still be visible but won’t respond to events but we control the client side, too. Is there any drawback to that approach? /Mick > On Mar 29, 2016, at 00:34, Quinn The Eskimo! wrote:

Re: [launchd-dev] LaunchAgent best practice for turning "off" sockets

2016-03-29 Thread Quinn "The Eskimo!"
On 25 Mar 2016, at 21:24, Mitchell Laurren-Ring wrote: > I have a LaunchAgent that is configured via Sockets in the plist to listen on > several IP+port number endpoints. I would like to make it possible to turn > "off" some listening endpoints while the LaunchAgent is running. There isn't a