2023-02-09 16:26:29 +01:00
|
|
|
[LibIPC][libipc] C examples: `pong` and `pongd` (simple service and its client, just echoing received messages).
|
|
|
|
Implementations are straightforward.
|
2023-02-08 19:03:00 +01:00
|
|
|
|
2023-02-09 16:26:29 +01:00
|
|
|
## Build
|
2023-02-08 19:03:00 +01:00
|
|
|
|
|
|
|
`make`
|
2023-02-09 16:26:29 +01:00
|
|
|
|
|
|
|
Some options are available, such as static builds.
|
|
|
|
|
|
|
|
```sh
|
|
|
|
make STATIC=1 # Build static executables.
|
|
|
|
```
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
```sh
|
|
|
|
./zig-out/bin/pongd # run the service
|
|
|
|
./zig-out/bin/pong # run the client
|
|
|
|
```
|
|
|
|
|
|
|
|
## LICENSE
|
|
|
|
|
|
|
|
ISC
|
|
|
|
|
|
|
|
[libipc]: https://git.baguette.netlib.re/Baguette/libipc
|