RUVIDEO
Поделитесь видео 🙏

Minitalk (42 School) - Basic overview

📁 Юмор 👁️ 20 📅 11.10.2024

Hello!
This is my Minitalk Project that I created at 42 School of Porto.

🔘 How does this project work?
The Minitalk project asks us to develop a program that functions in a basic way, similar to a chat, allowing you to send messages from one process to another on the computer.

To achieve this, the program operates as follows:
1. Check the input in the client program.
2. Convert the message from characters into binary.
3. Send the binary from the client program to the server program using UNIX signals (SIGUSR1 and SIGUSR2). Each signal represents 1 or 0, respectively.
4. While the message is being received by the server program, it is converted back from binary to characters.
5. Once the message is received, it is printed in the server program.
6. At the end, the server program sends a receipt message to the client program.

🔘 What concepts were involved?
🔳 Interprocess communication (IPC): The exchange of data between processes in a UNIX system.
🔳 Signal handling: The management of signals, utilizing the signal() and sigaction() functions.
🔳 Process ID (PID): A unique numerical identifier assigned to a running process in a computer's operating system.
🔳 Synchronization mechanisms: Ensuring that the server receives each signal correctly and does not miss any signals.
🔳 Error handling: Verifying that the input was correctly made and checking for any signal errors during the process.

🔘 Keep in touch!
Here, you can find all the projects that my journey at 42 Porto is guiding me through.
Please check out my GitHub page https://github.com/Uatilla
#Minitalk #UNIX #Coding #42Porto #C #Programming

Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «Minitalk (42 School) - Basic overview», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.

Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.

Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!

Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.