Minitalk is a simple client-server program in C, using UNIX signals for inter-process communication. The server receives a message from the client and displays it. Both the client and server can run on the same machine or different machines on a network. This project is a part of the curriculum at 42.
- Clone the repository:
git clone https://github.com/<username>/minitalk.git
- Change directory:
cd minitalk
- Compile the executable:
make
./server
./client [server_pid] [message]
Replace [server_pid]
with the process ID of the server, which is displayed when the server is started. Replace [message]
with the message you want to send.
- Start the server:
./server
- In another terminal, send a message:
./client [server_pid] Hello, Minitalk!