reomelo / 42Porto-minitalk

Small data exchange between client and server programs using UNIX signals

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Screenshot from 2023-11-01 17-11-44

Description of the project:

This project consists on a small data exchange between client and server programs using UNIX signals. In my case, the bonus part is already implemented with the mandatory part, even though the subject requires that they must be separated.

Installing and running the project:

1- Clone this repository and enter it:

git clone https://github.com/reomelo/42Porto-minitalk.git && cd 42Porto-minitalk

2- Run make and execute the file ./server:

make && ./server

3- In another terminal execute the ./client with the PID printed by the server and the message you want to send:

./client <PID> <message>

Makefile Available Targets:

make or make all - creates minitalk.a
make clean - wipes all object files
make fclean - deletes minitalk.a and all object files
make re - fclean + all


At 42School, almost every project must be written in accordance to the Norm. As a result, parts of the code are not as clean, efficient or straight forward as they could be.

About

Small data exchange between client and server programs using UNIX signals


Languages

Language:C 94.8%Language:Makefile 5.2%