libipc-examples/crystal
2023-02-09 13:26:01 +01:00
..
src Add 2 crystal LibIPC examples. 2023-02-08 09:48:37 +01:00
.gitignore Add 2 crystal LibIPC examples. 2023-02-08 09:48:37 +01:00
makefile Add Crystal-related makefile configuration. 2023-02-09 13:26:01 +01:00
README.md Add 2 crystal LibIPC examples. 2023-02-08 09:48:37 +01:00
shard.yml Add 2 crystal LibIPC examples. 2023-02-08 09:48:37 +01:00

LibIPC examples

Crystal LibIPC examples, using libipc bindings shard.

Installation

# Compiles all examples.
shards build

Currently there are 2 examples:

  • pongd (server): repeating every message
  • pong (client): sending a message to the pong service and waiting for response

Usage

# Run the service
./bin/pongd # run the service
./bin/pong  # run the client

LICENCE

ISC