Protocols for Communicating with Daemons
There are four major communication mechanisms commonly used between daemons and their clients:
a. XPC,
b. traditional client-server communications (including Apple events, TCP/IP, UDP, other socket and pipemechanisms),
c. remote procedure calls (including Mach RPC, Sun RPC, and Distributed Objects),
d. and memorymapping (used underneath the Core Graphics APIs, among others).