[launchd-dev] Dynamic port listening

Dave Zarzycki zarzycki at apple.com
Tue Nov 13 15:57:15 PST 2007


On Nov 13, 2007, at 3:22 PM, Hamish Allan wrote:

> On Nov 12, 2007 10:51 PM, Hamish Allan <hamish at gmail.com> wrote:
>
>> I need to register the [Bonjour] service as being on localhost  
>> rather than mymachine.local
>> [...]
>> Can I do anything about this?
>
> To answer my own question: from examining the source code, it would
> seem not. do_rendezvous_magic()'s call to DNSServiceRegister() is
> currently hardcoded to advertise on all interfaces.

Please file a bug to fix that.


> So to take another tack: is it possible to have launchd execute
> arbitrary commands after binding to a port, with the addrinfo
> available for substitution?

Nope.

davez



More information about the launchd-dev mailing list