42 Minitalk Project
Find a file
2025-09-03 00:04:21 +01:00
include Started project, added libft. 2025-07-02 14:44:23 +01:00
src Organized. Should be ready to deliver. 2025-09-02 14:13:09 +01:00
src_bonus Organized. Should be ready to deliver. 2025-09-02 14:13:09 +01:00
.gitmodules Started project, added libft. 2025-07-02 14:44:23 +01:00
LICENSE Initial commit 2025-07-02 13:51:19 +01:00
Makefile Organized. Should be ready to deliver. 2025-09-02 14:13:09 +01:00
README.md Added an actual decent README for once. 2025-09-03 00:04:21 +01:00

42-Minitalk

A Local, Unix Signals-Based Message Server.

Talk with yourself like never before!

Usage

In a Linux terminal environment (either native Linux, or WSL on Windows):

Run ./server. This will start the message server, and print the Process ID (PID) you will use to communicate with the server.

While the server is still running, open another terminal window, and run ./client with the server's PID and your message as the arguments, like this:

./client <PID> <MESSAGE>

The server will receive your message, and print out your message's content as it receives it.

The bonus part is identical to the mandatory part. The sole difference being that the client will notify you when the message has been delivered.

Building

The included Makefile will handle all the compilation for you.

make or make all will compile the project into two executables: client and server. These will be delivered at the repository's root directory.

make fclean will fully remove all traces of compilation from the repository, which include object files (.o extension files) and both executables.

make clean will only remove object files created during compilation.

make re will run the make fclean command, followed by the make all command.

The bonus and re_bonus are for the bonus part of this project, and do pretty much what the all and re rules do.

Licensing

This project is licensed under the terms of the GNU GPL-2.0-or-later.

Other Info

This project was done as part of the curriculum of 42. Grade achieved: 125/100

The main branch contains the project as it was submitted for evaluation. the remake branch was merged into the main branch: the project was remade from the beginning due to structural flaws in the original version.