https://github.com/aabduvak/minitalk
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.
https://github.com/aabduvak/minitalk
42 42born2code 42cursus 42istanbul 42school minitalk
Last synced: 2 months ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/aabduvak/minitalk
- Owner: aabduvak
- License: gpl-3.0
- Created: 2022-02-19T22:10:05.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-02-19T23:23:08.000Z (over 3 years ago)
- Last Synced: 2025-01-30T07:28:04.490Z (4 months ago)
- Topics: 42, 42born2code, 42cursus, 42istanbul, 42school, minitalk
- Language: C
- Homepage:
- Size: 257 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
🧰 42 Project: Minitalk
The purpose of this project is to code a small data exchange program using UNIX signals.
![]()
![]()
![]()
![]()
![]()
About
·
Usage
·
Usefull Command
·
References---
## 💡 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](https://www.42istanbul.com.tr/) that requires us to create a small dataa exchange program from client to server.### Application flow
Click [here](https://excalidraw.com/#json=X5IF2CEVuO8EhAyX9bwMZ,42SQg0D6nJcF7hwcDG1dVw) 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**
```bash
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:
```bash
make
```**3. Open new terminal on the same directory and run the server:**
```bash
./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.```bash
./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:
```bash
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:
```bash
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:
```bash
make ffclean
```**4. Checking Norminette standart**
To check Norminette errors of all files, simply go to the path and run:
```bash
make norm
```**5. Help command**
To get information about command, run:
```bash
make help
```## 📋 References
https://github.com/hanshazairi/42-minitalk