Skip to content
/ minitalk Public

A small data exchange program using UNIX signals

License

Notifications You must be signed in to change notification settings

dpiza/minitalk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minitalk

42-BadgeC-Badge42Unlicense

Description

Minitalk is a communication program using UNIX signals.

Goals

To code a small data exchange program using UNIX signals. It is an introductory project for the bigger UNIX projects that will appear later on in the 42cursus.

Mandatory

• You must create a communication program in the form of a client and server.

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

• You can only use the two signals SIGUSR1 and SIGUSR2.

Bonus

• The server confirms every signal received by sending a signal to the client.

• Support Unicode characters!

Usage

To compile the program, run:

$ make

First, run the server and get its PID:

$ ./server

Then, run the client, providing the server PID and the string:

$ ./client 12345 "G'day mr server 🙃"

License

This work is published under the terms of 42 Unlicense

About

A small data exchange program using UNIX signals

Topics

Resources

License

Stars

Watchers

Forks