Re: how to use the same udp port already loaded by launchd?
Re: how to use the same udp port already loaded by launchd?
- Subject: Re: how to use the same udp port already loaded by launchd?
- From: Eli Bach <email@hidden>
- Date: Wed, 15 Jul 2009 11:17:04 -0700
On Jul 15, 2009, at 11:09 AM, Ian Mark Salvame wrote:
If I have a loaded launchd agent listening to a udp port12345,
Is there a way for a separate process to bind that same port without
unloading the launchd agent?
That separate process always fail during binding using that same port.
Please enlignten me guys, I'm not that familiar with launchd yet.
Um, you would need some way for the separate process that is already
listening to that port to either stop listening or to pass the
descriptor connected to that port to your process. Or I suppose you
might be able to write some kind of brutal kext to intercept the
communications, but that's a lot of work.
Assuming you don't have to code for the process being launched by
launchd, the proper way for this to work is to unload the launchd agent?
Is there some reason you can't unload it?
Eli
_______________________________________________
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