libipc-examples/crystal/README.md

27 lines
447 B
Markdown
Raw Normal View History

2023-02-08 09:48:37 +01:00
Crystal LibIPC examples, using [libipc bindings shard][bindings].
2023-02-09 16:26:29 +01:00
## Build
2023-02-08 09:48:37 +01:00
```sh
# Compiles all examples.
2023-02-09 16:26:29 +01:00
make
2023-02-08 09:48:37 +01:00
```
Currently there are 2 examples:
- pongd (server): repeating every message
- pong (client): sending a message to the pong service and waiting for response
## Usage
```sh
# Run the service
./bin/pongd # run the service
./bin/pong # run the client
```
2023-02-09 16:26:29 +01:00
## LICENSE
2023-02-08 09:48:37 +01:00
ISC
[bindings]: https://git.baguette.netlib.re/Baguette/ipc.cr