42_minitalk
42_minitalk copied to clipboard
Small data exchange between client and server programs using UNIX signals - Introduction to Inter Process Communication (IPC)
minitalk (42Porto - 42Cursus)
Grade: 125/100
Installing and running the project:
1- Clone this repository
git clone https://github.com/Kuninoto/42_minitalk
2- Navigate to lvl_2_minitalk and run make
cd 42_minitalk/lvl_2_minitalk
make
3- make clean
so that you don't keep those object files that you won't need anymore
make clean
4- Run server and copy its PID to the client alongside the message you want to send.
./server
./client <server_PID> <message>
Subject: minitalk en_subject
Makefile Available Targets:
make
or make all
- Makes client and server
make clean
- Deletes all the resulting object files
make fclean
- Deletes the executables and all the resulting object files
make re
- fclean + all
make bonus
- same as all
, added for subject purposes
Useful links:
- https://www.youtube.com/watch?v=83M5-NPDeWs
- https://www.geeksforgeeks.org/bitwise-operators-in-c-cpp/
- https://emojidb.org/terminal-emojis
Disclaimer
At 42School, almost every project must be written in accordance to the Norm, the schools' coding standard. As a result, the implementation of certain parts may appear strange and for sure had room for improvement.
Made by Nuno Carvalho (Kuninoto) | [email protected]