Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
dTub
Скачать

I tried UDP multicast for the first time in C!

Автор: eszotec

Загружено: 2025-09-07

Просмотров: 166

Описание:

Hi all!
Hope you all are doing great.
Lets say you want to send some data to a few selected hosts in a given network. How would you do that?
Well of course one way to do that would be to iteratively send the data to each of the selected hosts. But that would essentially mean that you are wasting bandwidth because you are sending the same data multiple times. So is there a better way?

Of course there is and the answer is udp multicasting. With multicasting, the sender/transmitter sends the datagrams to a multicast group IP only once and all the receiver hosts that have subscribed to that multicast group receive the datagram. This is slightly different from UDP broadcasting where all the hosts in the network will get the broadcasted message. Multicasting on the other hand provides every host an option to be a member of one or more multicast group and receive only those messages which are meant for those subscribed groups.

In this video I will be discussing about mutlicasting in depth, how it works, and we will also see it in action using C on Linux!

I hope you all enjoy this video.

Timestamps:
00:00 Introduction
07:10 Unicast
10:36 Broadcast
14:50 Why do we need multicast'
17:36 Multicast
21:44 Why we need multicast routing
24:29 Multicast socket options
34:35 IGMP
35:18 IGMP Snooping
39:13 Sending and receiving UDP multicast datagrams using C

Resource:
Thumbnail Image by manuelwagner0 from Pixabay

References:
https://tldp.org/HOWTO/Multicast-HOWT...

#computernetworks #linux #networking #sockets #udp #multicast #broadcast #cprogramming #linuxnetworking #programming #systems #networkprotocols

I tried UDP multicast for the first time in C!

Поделиться в:

Доступные форматы для скачивания:

Скачать видео mp4

  • Информация по загрузке:

Скачать аудио mp3

Похожие видео

Я в опасности

Я в опасности

Код работает в 100 раз медленнее из-за ложного разделения ресурсов.

Код работает в 100 раз медленнее из-за ложного разделения ресурсов.

I created a network packet sniffer from scratch in C using only raw sockets!

I created a network packet sniffer from scratch in C using only raw sockets!

Зачем нужны кристаллы? Вот почему, с примерами!

Зачем нужны кристаллы? Вот почему, с примерами!

Leetcode 1458 | Max Dot Product of Two Subsequences | Optimized Solution + Code

Leetcode 1458 | Max Dot Product of Two Subsequences | Optimized Solution + Code

I tried binding multiple Linux sockets to same IP and Port!

I tried binding multiple Linux sockets to same IP and Port!

I Read Honey's Source Code

I Read Honey's Source Code

Microsoft begs for mercy

Microsoft begs for mercy

The Windows 11 Disaster That's Killing Microsoft

The Windows 11 Disaster That's Killing Microsoft

How to Escape Google Surveillance: Replace Every Service in 2 Weeks

How to Escape Google Surveillance: Replace Every Service in 2 Weeks

The Man Behind Google's AI Machine | Demis Hassabis Interview

The Man Behind Google's AI Machine | Demis Hassabis Interview

Zbrojenia Bez Hamulców: Pół Miliona Żołnierzy, Rekord Wydatków i „Bilet do Wojska” dla tysięcy

Zbrojenia Bez Hamulców: Pół Miliona Żołnierzy, Rekord Wydatków i „Bilet do Wojska” dla tysięcy

MOŁDAWIA W RUMUNII? PREZYDENT I PREMIER KRAJU SĄ ZA

MOŁDAWIA W RUMUNII? PREZYDENT I PREMIER KRAJU SĄ ZA

Неисправный при доставке — японский самолет Sansui с серьезными повреждениями при транспортировке.

Неисправный при доставке — японский самолет Sansui с серьезными повреждениями при транспортировке.

I redesigned my home-built handheld game console! Presenting Monoretro v1.2

I redesigned my home-built handheld game console! Presenting Monoretro v1.2

What is STUN? How does NAT work? Lets create a STUN client from scratch!

What is STUN? How does NAT work? Lets create a STUN client from scratch!

I created an IP tunnel from scratch using Linux TUN device and C!

I created an IP tunnel from scratch using Linux TUN device and C!

Don't forget to Google it...

Don't forget to Google it...

I tried reading from a deleted file in Linux!

I tried reading from a deleted file in Linux!

338. NASZ PIERWSZY RAZ W AZJI POŁUDNIOWO WSCHODNIEJ 🇻🇳

338. NASZ PIERWSZY RAZ W AZJI POŁUDNIOWO WSCHODNIEJ 🇻🇳

© 2025 dtub. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: infodtube@gmail.com