Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 1.37 KB

README.md

File metadata and controls

29 lines (22 loc) · 1.37 KB

42_minitalk

Demo GIF

Description

This project consists of creating a communication program in the form of a client and a server. The communication between client and server has to be done only using UNIX signals (SIGUSR1 and SIGUSR2). The server can receive strings from several clients in a row without needing to restart.

Prerequisites

  • Nothing needed

Usage

  1. make
  2. Run ./server on a shell and leave it running
  3. Run ./client <SERVER_PID> <YOUR_MESSAGE> on another shell

Lessons

  • UNIX Signals
  • Processes
  • Bitwise Operators
  • Pause, sleep, exit

Resources