Skip to content

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

License

Notifications You must be signed in to change notification settings

hde-oliv/minitalk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published