A project to gain a better understanding of how processes communicate with each other using POSIX signals.
It consists of two programs: a server and a client. The client is capable of sending text messages to the server, and the server displays them.
This communication is made using only POSIX signals (e.g., SIGUSER1 and SIGUSER2) and is possible by the client sending the text message bit by bit and then reconstructing it on the server.
Succeeded with 115%
- Rigor
- Unix logic
Requirements:
sudo apt install clang
Clone the repository and run:
make
Both the server and client will be generated, after that, you can run the server in the background.
./server &
Its PID will be printed, and with that, you can execute the client, passing the PID and a string.
./client <PID> "Oh my gah!"
Feel free to contact me or create an issue!
This project is licensed under the GNU General Public License v3.0 - see the COPYING file for details.