Giter Club home page Giter Club logo

amaitou / minitalk Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 0.0 24 KB

Efficiently exchange small data in C with a UNIX signal-based program. This concise project leverages UNIX signals for streamlined communication, providing a simple and effective solution for data exchange in a lightweight environment. Explore the power of signals in this compact program designed for seamless small-scale data transfer.

C 93.30% Makefile 6.70%
1337school minitalk42 signals 42cursus 42network inter-process-communication

minitalk's Introduction


Aristotle-Quotes-Featuredjpg


Minitalk

Speaking of the projects of 42Cursus, Minitalk belongs to the third circle in the Cursus.
This project aims to set up a communication program in the form of a client and a server using signals.

Note: I haven't shared the PDF of this project, as well as, I haven't explained anything due to school privacy reasons!

This project consists of two parts:

  • Mandatory part
  • Bonus Part

Note: The Bonus Part is not that necessary to validate the project, but it gives some extra XPs and days for the The Blackhole.


Signals

when it comes to the communication between two processes there are plenty of ways to set up this communication, and here are some of them:

This project limits you to use only signals to set up this communication between these two processes (client & server) by sending a message from the client to the server according to that last's process id.

You are allowed to use only these two signals SIGUSR1 and SIGUSR2


Things you will learn in this project

Signals

Processes

IPC (Inter Process Communication)

Bit masking

Makefile

Syscalls


Contact Me

minitalk's People

Contributors

amaitou avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.