Skip to content

Latest commit

 

History

History
54 lines (35 loc) · 1.33 KB

readme.md

File metadata and controls

54 lines (35 loc) · 1.33 KB

minitalk

Where is the description?

forthebadge

Sixth project for 42 school. The aim is to create a client and a server that can communicate only using UNIX signals.

example

Subject

The communication between client and server has to be done only using SIGUSR1 and SIGUSR2 signals.

Server must:

  • be started first
  • print its PID
  • print the string after fully receiving
  • be able to receive strings from several clients in a row without needing to restart.

Usage

Server

./server

Client

./client [server_pid] [message]

How does it work ?

Client

client operation

Server

server operation

Useful links

minitalk-Tester by @ThibaudM13
Cours "Gestion des Signaux" de Mr. Mandel à Polytech Paris-Sud
GeeksforGeeks course
code(quoi) article "Sending and intercepting a signal in C"