hde-oliv / minitalk

A project to gain a better understanding of how processes communicate with each other using POSIX signals.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Minitalk

Example

What is it?

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%

Skills

  • Rigor
  • Unix logic

How to use it

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!"

Found any bugs?

Feel free to contact me or create an issue!

License

This project is licensed under the GNU General Public License v3.0 - see the COPYING file for details.

About

A project to gain a better understanding of how processes communicate with each other using POSIX signals.

License:GNU General Public License v3.0


Languages

Language:C 96.5%Language:Makefile 3.5%