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: Hamish Allan <email@hidden>
- Date: Wed, 15 Jul 2009 19:33:50 +0100
On Wed, Jul 15, 2009 at 7:09 PM, Ian Mark Salvame<email@hidden> 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?
If the original agent and the subsequent process both bind with
SO_REUSEADDR / SO_REUSEPORT, you should both be able to listen to the
same UDP port (disclaimer: I've only ever tried this with multicast
ports).
Best wishes,
Hamish
_______________________________________________
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