Skip to content

hasnasln/my_minitalk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

3 Commits
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ›ฐ๏ธ Minitalk

A simple inter-process communication project using UNIX signals in C.


๐Ÿ“Œ Project Summary

Minitalk is a project from the 42 curriculum that teaches how to communicate between two processes using UNIX signals. It consists of two programs: server and client.

The client sends a message (string) to the server by encoding characters into bits and sending them using SIGUSR1 and SIGUSR2. The server decodes these bits and prints the message.


๐Ÿง  What I Learned

Through this project, I learned:

  • The use of kill() to send signals between processes
  • How to encode and decode data bit by bit using SIGUSR1 and SIGUSR2
  • The use of signal() and pause() for asynchronous signal handling
  • How to manage multi-part message transmission and detect end-of-message
  • Basic inter-process communication (IPC) concepts in a low-level environment

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published