Small project involving a server and client that exchange information using kill(1) signals.
Minitalk consists of two main components: the server and the client. The server waits for messages from the client, and the client sends messages to the server. The communication is achieved using kill signals SIGUSR1 and SIGUSR2. The goal is to transmit strings of characters from the client to the server in a binary format .
-
Client-Server Communication: Minitalk demonstrates interprocess communication using signals, where the client sends strings to the server.
-
Binary Data Transmission: Strings are converted to binary data using bitwise operations before being sent between the client and server.
- Clone this repository:
git clone https://github.com/manugonz42/Minitalk.git minitalk - Navigate to the project directory:
cd minitalk - Compile the project:
make
- Run the server:
./server - Run the client:
./client [Server PID] [Message to send]
./server./client [Server PID] [Message to send]