The purpose of this project is to code a small data exchange program using UNIX signals. Therefore, the communication program between a client
and a server
has to be done using only UNIX signals.
The server
should be able to receive messages from clients in a row without needing to restart. For the bonus project, the server
confirm the message was delivered by sending back a signal to the client
and supports Unicode characters.
git clone https://github.com/mahagostinho/minitalk_42sp.git
make
./server
It will print the server process ID:
Server PID is: XXXX.
It must receive three arguments: the executable program, the server PID and the message to be sent.
./client <PID> <MESSAGE>
To send another message to the server
, the client
program must be executed once again.