Skip to content
/ minitalk Public

A simple data exchange program in C, usign UNIX signal (sigaction & PID)

Notifications You must be signed in to change notification settings

gbs0/minitalk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minitalk - Chat using only UNIX sig functions

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 this repo
  2. Compile files with make.
  3. Add execution permission running chmod +x ./server && chmod +x ./client

Execute

  1. First, run the server ./server
  2. Then, send a message using ./client <PID_OUTPUT> 'Your Message123456789@#$%^&*'

About

A simple data exchange program in C, usign UNIX signal (sigaction & PID)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published