This project consists on a small data exchange between client and server programs using UNIX signals. In my case, the bonus part is already implemented with the mandatory part, even though the subject requires that they must be separated.
1- Clone this repository and enter it:
git clone https://github.com/reomelo/42Porto-minitalk.git && cd 42Porto-minitalk
2- Run make
and execute the file ./server
:
make && ./server
3- In another terminal execute the ./client
with the PID printed by the server and the message you want to send:
./client <PID> <message>
make
or make all
- creates minitalk.a
make clean
- wipes all object files
make fclean
- deletes minitalk.a and all object files
make re
- fclean + all