RogerioLS / Mini_Talk-42sp

This is a 42 project. Create a data exchange between server and client with UNIX signals.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

🔈 Mini-Talk | 42 SP

Norminette Build Static Badge 42 São Paulo License Code size in bytes Top language Last commit Repo size Languages GitHub repo file count (file type) Discord


About

The purpose of this project is to code a small data exchange program using UNIX signals.

Mandatory

  • Produce server & client executables
  • client must communicate a string passed as a parameter to server (referenced by its process ID) which then displays it
  • Use SIGUSR1 & SIGUSR2 signals ONLY

Bonus

  • Add reception acknowledgement system
  • Support Unicode characters

Allowed Functions

Compilation

1 - First things first, you need to clone this repository:

git clone https://github.com/RogerioLS/Mini_Talk-42sp

2 - Go to Minitalk and run make

cd Mini_Talk-42sp/
make

3 - Run server to get its PID and use it on client side to send the message you want.

./server
./client <server_PID> <message>

and that's basically it! :)

About

This is a 42 project. Create a data exchange between server and client with UNIX signals.

License:MIT License


Languages

Language:C 93.7%Language:Makefile 6.3%