File-based inter-process communication for server-client architectures
uses |
||
baseunix, |
||
|
Unit to run only a single instance in your application. |
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.