Skip to content

manugonz42/Minitalk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

enter image description here

Minitalk

Small project involving a server and client that exchange information using kill(1) signals.

Overview

Minitalk consists of two main components: the server and the client. The server waits for messages from the client, and the client sends messages to the server. The communication is achieved using kill signals SIGUSR1 and SIGUSR2. The goal is to transmit strings of characters from the client to the server in a binary format .

Features

  • Client-Server Communication: Minitalk demonstrates interprocess communication using signals, where the client sends strings to the server.

  • Binary Data Transmission: Strings are converted to binary data using bitwise operations before being sent between the client and server.

Usage

Installation

  1. Clone this repository: git clone https://github.com/manugonz42/Minitalk.git minitalk
  2. Navigate to the project directory: cd minitalk
  3. Compile the project: make

Usage

  1. Run the server: ./server
  2. Run the client: ./client [Server PID] [Message to send]

Example

Terminal 1 (Server)

./server

Terminal 2 (Client)

./client [Server PID] [Message to send]

About

Small project involving a server and client that exchange information using kill signals.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages