minitalk
Messages, carried by signals.

A client-server program that sends text using only two UNIX signals, SIGUSR1 and SIGUSR2, bit by bit, with acknowledgements and Unicode support.
The problem
Send a full message between two processes when the only channel is two signals that carry no data at all.
How I built it
- 01The server prints its PID; the client encodes each character bit by bit, with SIGUSR1 and SIGUSR2 standing for 0 and 1.
- 02The server rebuilds and prints the string, and serves many clients in a row without restarting.
- 03Bonus: an acknowledgement signal for every message, and Unicode support.
Key takeaways
- — Inter-process communication and asynchronous signal handlers.
- — Encoding data at the bit level.
minitalk was built as part of the software engineering curriculum at 1337 Coding School (42 Network, UM6P), where every project is built from scratch and reviewed by peers.