Contents

xpc_session_t

A C type that sends messages to a server process.

Declaration

typealias xpc_session_t = OS_xpc_session

Discussion

XPC sessions are stateful connections you use to send structured messages to a separate process. Once established, a session remains active until one side of the connection cancels it, at which point the system invalidates the connection. Unlike lower-level xpc_connection functions, the system makes no attempt to reestablish a connection or relaunch the service.

Topics

Creating a session

Managing life cycle

Sending messages

Working with code signing

See Also

Interprocess communication