Skip to content

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

Notifications You must be signed in to change notification settings

mariebriand/42-CC_Minitalk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minitalk

mabriand's 42 minitalk Score

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

Description

The objective of this project is yo create a communication program in the form of a client and a server. The server launches first by printing its PID. The client then takes the server's PID and the string to send as parameters and sends it. Once the serverr has receptionned the string, it prints it.

As bonuses, the server acknoledges every message received by sending back a signal to the client and Unicode characters are supported!

Installation

$ git clone https://github.com/mariebriand/42-CC_Minitalk.git
$ cd 42-CC_Minitalk
$ make

You will then end up with two executables: server and client. Split your terminal in two, and launch each program, starting with server.

Usage

$ ./server
$ ./client [server_PID] [string_to_send] where server_PID is the first output of the server launch.

To run the tester:

$ cd tester
$ sh minitalk_tester.sh

Roadmap

  • Check for the right license (and document myself about open source licenses).
  • Add a way to reach me for support.
  • Generate and add a visual in the README.md
  • Add the official subject from 42intra.

Authors and acknowledgement

The tester was made by adbenoit-9 and cloned from her own project repository.

Project status

This project is finished, it has passed the 3 needed peer-corrections.

forthebadge forthebadge

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published