🛰️Minitalk
Minitalk is a 42 project that implements a simple client-server communication system using UNIX signals. The client sends a string message to the server, one bit at a time, using SIGUSR1 and SIGUSR2 to represent binary 1s and 0s. The server decodes the bits and displays the message.
🛠️ Project Overview
This project demonstrates:
• Inter-process communication (IPC)
• Bit manipulation
• Signal handling (SIGUSR1, SIGUSR2)
• Process IDs (PID)
• Robust and efficient C programming
🔧 Installation & Compilation
Clone the repository and compile:
makeThis will generate two executables: server and client.
🧪 Usage
1.Start the server:
./serverThis will output the server's PID:
PID=12345
2.Send a message from client:
./client 12345 "Hello, Minitalk!"The server should receive and display:
Hello, Minitalk!