• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: how to use the same udp port already loaded by launchd?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: how to use the same udp port already loaded by launchd?
      • From: Ian Mark Salvame <email@hidden>
References: 
 >how to use the same udp port already loaded by launchd? (From: Ian Mark Salvame <email@hidden>)

  • Prev by Date: how to use the same udp port already loaded by launchd?
  • Next by Date: Re: how to use the same udp port already loaded by launchd?
  • Previous by thread: how to use the same udp port already loaded by launchd?
  • Next by thread: Re: how to use the same udp port already loaded by launchd?
  • Index(es):
    • Date
    • Thread