But instead of retreiving sockets (using LAUNCH_JOBKEY_SOCKETS and
launch_data_get_fd()) you retreive your mach port (using
LAUNCH_JOBKEY_MACHSERVICES and launch_data_get_machport()).
The way to define a service in your plist is defined in the
MachServices section of launchd.plist reference (man launchd.plist).
And in the client application, you retreive it using
bootstrap_look_up() (from <servers/bootstrap.h>).
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden