Skip to content

Communication between your programs should ONLY be done using UNIX signals.

Notifications You must be signed in to change notification settings

itsOussamox/minitalk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

MINITALK

PROJECT INFORMATIONS

• You must create a communication program in the form of a client and server. • The server must be launched first, and after being launched it must display its PID. • The client will take as parameters: ◦ The server PID. ◦ The string that should be sent. • The client must communicate the string passed as a parameter to the server. Once the string has been received, the server must display it. • Communication between your programs should ONLY be done using UNIX signals. • The server must be able to display the string pretty quickly. By quickly we mean that if you think it is too long, then it is probably too long (hint: 1 second for 100 characters is COLOSSAL) • Your server should be able to receive strings from several clients in a row, without needing to be restarted. • You can only use the two signals SIGUSR1 and SIGUSR2.

42cursus - minitalk

About

The purpose of this project is to code a small data exchange program using UNIX signals.

Mandatory

  • Produce server & client executables
  • client must communicate a string passed as a parameter to server (referenced by its process ID) which then displays it
  • Use SIGUSR1 & SIGUSR2 signals ONLY

Bonus

  • Add reception acknowledgement system
  • Support Unicode characters

Allowed Functions

Compilation

  1. Clone repo including libft submodule via git clone --recursive https://github.com/hanshazairi/42-minitalk.git.
  2. Compile files into server & client executables via make -C 42-minitalk.

Demo

DemoMinitalk

About

Communication between your programs should ONLY be done using UNIX signals.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages