CopperSpice API  1.7.4
Inter-Process Communication

There are several ways to implement Inter-Process Communication (IPC) in CopperSpice applications.


The cross platform CsNetwork library provides classes which make network programming portable and reliable. It offers high level classes like QNetworkAccessManager and QFtp which provide application level protocols, and lower level classes like QTcpSocket, QTcpServer, QSslSocket for implementing custom protocols.

Shared Memory

The QSharedMemory class provides access to the operating system's shared memory implementation. It allows safe access to shared memory segments by multiple threads and processes. Additionally, QSystemSemaphore can be used to control access to resources shared by the system, as well as to communicate between processes.

D-Bus Protocol

The CsDBus library is a Unix-only library you can use to implement IPC using the D-Bus protocol. It extends the signals and slots mechanism to the IPC level, allowing a signal emitted by one process to be connected to a slot in another process. Refer to the CsDBus documentation for more information.