Skip to content

Reference for unit 'AdvancedIPC'

File-based inter-process communication for server-client architectures

uses

Used units Description
System
baseunix
sysutils
Classes
SingleInstance Unit to run only a single instance in your application.

Overview

The AdvancedIPC unit provides two-way request/response inter-process communication between one server and multiple clients using file-based messaging. The system is non-deterministic - message processing order is not guaranteed. However, SendRequest and PostRequest/PeekResponse sequences from a single client are processed in correct order.

Because it is file based, it should not be used for intensive messaging, but it is suitable for exchanging small messages at startup, for example to transfer control to another instance. It is implemented using files as this is a common denominator on all platforms.