/42_minitalk

Small data exchange between client and server programs using UNIX signals - Introduction to Inter Process Communication (IPC)

Primary LanguageC

minitalk (42Porto - 42Cursus) Linux Logo C Logo 

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>

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:

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) | nnuno-ca@student.42porto.com