Minitalk A simple client-server communication program using UNIX signals, developed as part of the 42 school curriculum.
Description Minitalk allows sending strings from a client process to a server process using only UNIX signals (SIGUSR1 and SIGUSR2). The server receives the messages and prints them on the terminal. This project demonstrates inter-process communication and signal handling in C.
Features Send messages from client to server using signals
Server outputs received messages
Handles communication bit-by-bit via signals
Technologies Used C programming language
UNIX signals (SIGUSR1, SIGUSR2)
POSIX system calls
Installation Clone the repository:
bash Copy Edit git clone https://github.com/yourusername/minitalk.git Compile the programs:
bash Copy Edit cd minitalk make Usage Run the server:
bash Copy Edit ./server Note the PID printed by the server.
In another terminal, run the client with the server PID and the message:
bash Copy Edit ./client <server_pid> "Your message here" The server will print the message sent from the client.
Contributing Feel free to fork the repo and submit pull requests for improvements.
License MIT License (or specify your license)