"MiniTalk" is a project that I made in my Cursus at 42School that demonstrates inter-process communication using Unix signals. It consists of a server and a client where the client sends messages to the server using signals. This project highlights the basics of signal handling and process synchronization in Unix.
https://github.com/rphlr/42-Subjects/blob/main/common-core/minitalk/en.subject.pdf
- Inter-process communication via Unix signals
- Simple client-server architecture
- Signal handling and management
- Process synchronization
To clone and compile this project, follow these steps:
git clone https://github.com/your-username/MiniTalk.git
cd MiniTalk
make
First, run the server:
./server
The server will print its process ID (PID). Use this PID to send a message from the client:
./client <server_pid> "Your message"
Replace <server_pid> with the actual PID of the server and "Your message" with the message you want to send.