The minitalk project is a communication program developed as part of 42 School. It consists of a client and server that communicate via UNIX signals. It demonstrates how to send and receive messages using signals like SIGUSR1 and SIGUSR2, converting these signals into binary data to transmit strings between the client and server processes. This project is designed to deepen understanding of inter-process communication (IPC) and signal handling in C.
This project is compatible on Linux and macOS.
If you are on macOS, make sure you have installed Xcode Command Line Tools.
- Clone this repository
git clone https://github.com/extrymes/42-Minitalk.git
cd 42-Minitalk
- Compile and launch the
server
program
make
./server
- Execute
client
in another terminal
./client <server_pid> <message>
You must pass it the server PID and a custom message.
We welcome contributions from everyone! Whether you're fixing bugs, adding new features, improving documentation, or simply sharing your ideas, your input is greatly appreciated.
Thanks for visiting and happy coding!