Skip to content

lu-value/minitalk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This project has been created as part of the 42 curriculum by lmouta-g.


Description

minitalk is a UNIX inter-process communication project using signals. The goal is to create a server and a client that communicate using only SIGUSR1 and SIGUSR2.

The client sends a string to the server by encoding each character in binary. The server reconstructs the message bit by bit and displays it.

This project introduces signal handling, process communication, and bitwise operations.


Instructions

Compilation

make

This generates two executables:

  • server
  • client

Usage

  1. Start the server:
./server

It will display its PID.

  1. Run the client with the server PID and a message:
./client <server_pid> "Your message"

The message will be displayed on the server side.


Resources

About

UNIX signal-based messaging system built during 42 curriculum. Implements client-server communication using only SIGUSR1 and SIGUSR2.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors