libipc-examples/crystal
2025-10-18 11:16:49 +02:00
..
src Add a simple example. 2023-05-27 22:11:56 +02:00
.gitignore
makefile Add two examples: input2ipc and fromipc (serialization of IPC messages). 2023-05-14 14:39:30 +02:00
makefile.user More options for websocat. 2023-05-27 22:11:20 +02:00
README.md
shard.yml Crystal: ipc library now has a "main" branch. 2025-10-18 11:16:49 +02:00

Crystal LibIPC examples, using libipc bindings shard.

Build

# Compiles all examples.
make

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

LICENSE

ISC