libipc-examples/crystal
2023-05-15 09:36:12 +02:00
..
src input2ipc: loop over input. 2023-05-15 09:36:12 +02:00
.gitignore Add 2 crystal LibIPC examples. 2023-02-08 09:48:37 +01:00
makefile Add two examples: input2ipc and fromipc (serialization of IPC messages). 2023-05-14 14:39:30 +02:00
README.md Update all READMEs. 2023-02-09 16:26:29 +01:00
shard.yml Add two examples: input2ipc and fromipc (serialization of IPC messages). 2023-05-14 14:39:30 +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