Giter VIP home page Giter VIP logo

minitalk's Introduction

🧰 42 Project: Minitalk

The purpose of this project is to code a small data exchange program using UNIX signals.

GitHub code size in bytes Number of lines of code Code language count GitHub top language GitHub last commit


💡 About the project

The purpose of this project is to code a small data exchange program using UNIX signals. It is an introductory project for the bigger UNIX projects that will appear later on in the cursus. Hopefully you will be able to reuse it in future project without the fear of being flagged as a cheater. You will mainly learn how to use signal functions.

What is minitalk?

minitalk is an individual project at 42 that requires us to create a small dataa exchange program from client to server.

Application flow

Click here for the interactive link.

Objectives

  • Unix logic

Skills

  • Rigor
  • Unix
  • Algorithms & AI

My grade

🛠️ Usage

Follow the steps below

Instructions

1. Clone the repository from github

git clone https://github.com/abdulazizabduvakhobov/Minitalk && cd minitalk/

2. Compile the library by Makefile To compile the library, go to its path and run:

For all mandatory and bonus functions:

 make

3. Open new terminal on the same directory and run the server:

./server

**4. Open new terminal on the same directory again and run the client with pid of server: ** NOT: first you must get pid (proccess id) from the server.

./client pid "Your message"

Example of usage

Requirements

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

Usefull make command

1. Cleaning all binary (.o) files

To clean all files generated binary files while doing a make, go to the path and run:

 make clean

2. Cleaning all binary (.o) and executable files (.a)

To clean all files generated while doing a make, go to the path and run:

 make fclean

3. Cleaning all binary (.o) and executable files (.a) in all directories

To clean all files generated while doing a make, go to the path and run:

 make ffclean

4. Checking Norminette standart

To check Norminette errors of all files, simply go to the path and run:

 make norm

5. Help command

To get information about command, run:

 make help

📋 References

https://github.com/hanshazairi/42-minitalk

minitalk's People

Contributors

aabduvak 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.