Skip to content

Matesant/minitalk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minitalk

Imagem 1 Imagem 2

Send your messages!

About

The goal of this project is to create a communication system that utilizes Unix signals for inter-process communication. This involves implementing mechanisms to send and receive signals between processes, allowing them to coordinate and exchange information effectively.

🛠️ Usage

Requirements

The function is written in C language and thus needs the gcc compiler and some standard C libraries to run.

Instructions

1. Compiling

To compile, go to the project path and run:

$ make

📋 Testing

To test the program you just need to launch the "server" and the "client" in different shell tabs with the following:

$ ./server

This will show your PID to make the client work and will stay waiting to receive a message from the "client"

$ ./client "PID" "Your message string"

By launching it, this will show "Your message string" on the server window.

BONUS

To compile, go to the project path and run:

$ make bonus

The bonus functionality operates similarly to the mandatory features, with the key difference being that the client confirms the receipt of messages sent by the server.

$ ./server_bonus
$ ./client_bonus "PID" "Your message string"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published