The library jumped to Zig v0.15.2 which implies a new build system. `build.zig` now compiles libipc as both static and dynamic libraries, and provides an entry point to use `libipc` as-is for Zig applications. Some examples have been added to help new users play with the library. Thanks to these fairly complete examples, two (very small) leaks related to sentinel values (in arrays containing paths) were fixed. |
||
|---|---|---|
| .. | ||
| pong-with-c-bindings.zig | ||
| pong.zig | ||
| pongd-with-c-bindings.zig | ||
| pongd.zig | ||
| README.md | ||
This directory provides a few examples of libipc usages.
Pong
The pong service is a simple echoing service.
A server (named pongd) echoes what is sent to it from a client (pong).
There are two implementations of these applications: one using the C bindings of libipc, one using the library directly. Since the communication protocol is the same (raw libipc messages), any client works with any server.