Skip to content

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

License

Notifications You must be signed in to change notification settings

angelamcosta/minitalk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🖥️ Minitalk

badge

GitHub Language Count GitHub Top Language GitHub Contributors GitHub Last Commit Github License wakatime

📑 Table of Contents

🗃️ Introduction

The purpose of this project is 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 cursus.

The subject of the project can be found in this link and the wiki explaining my solution to this project can be found here.

📍 Mandatory part

Create a communication program in the form of a client and a server.

  • The server must be started first. After its launch, it has to print its PID.
  • The client takes two parameters:
    • The server PID.
    • The string to send.
  • The client must send the string passed as a parameter to the server. Once the string has been received, the server must print it.
  • The server has to display the string pretty quickly. Quickly means that if you think it takes too long, then it is probably too long. 1 second for displaying 100 characters is way too much!
  • Your server should be able to receive strings from several clients in a row without needing to restart.
  • The communication between your client and your server has to be done only using UNIX signals.
  • You can only use these two signals: SIGUSR1 and SIGUSR2.

‼️ Bonus part

  • The server acknowledges every message received by sending back a signal to the client.
  • Unicode characters support!

Tasks

  • ☑️ Mandatory part
  • ⬜ Bonus part

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published