<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Alam</title>
    <description>The latest articles on DEV Community by Alam (@rizkyalam).</description>
    <link>https://dev.to/rizkyalam</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F888284%2F7d99dbb1-e5d3-4488-8fbf-363218e0dcf3.png</url>
      <title>DEV Community: Alam</title>
      <link>https://dev.to/rizkyalam</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/rizkyalam"/>
    <language>en</language>
    <item>
      <title>Casting Computer Network</title>
      <dc:creator>Alam</dc:creator>
      <pubDate>Sun, 10 Dec 2023 16:57:28 +0000</pubDate>
      <link>https://dev.to/rizkyalam/casting-computer-network-3n4e</link>
      <guid>https://dev.to/rizkyalam/casting-computer-network-3n4e</guid>
      <description>&lt;p&gt;In computer networks, data transmission is the most important thing to pay attention to. Therefore we need a method for sending packets over a network which is usually called &lt;strong&gt;Casting&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Casting is classified into three types which are &lt;strong&gt;Unicast&lt;/strong&gt;, &lt;strong&gt;Broadcast&lt;/strong&gt; and &lt;strong&gt;Multicast&lt;/strong&gt;&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fyarrfdxq4vzlqumrz72b.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fyarrfdxq4vzlqumrz72b.png" alt="Image description" width="800" height="533"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Unicast
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ft0hub14btgnwuxgvpdsm.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ft0hub14btgnwuxgvpdsm.png" alt="Image description" width="800" height="329"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Unicast&lt;/strong&gt; is a communication &lt;em&gt;one-to-one&lt;/em&gt; mode in computer networks where one sending device sends data to a particular receiving device.&lt;/p&gt;

&lt;p&gt;In unicast, data packets are sent from one source to one destination, so that only one device receives and processes the data.&lt;/p&gt;

&lt;p&gt;The advantage of using unicast is that the bandwidth used will be faster because it will only focus on one destination.&lt;/p&gt;

&lt;p&gt;Examples of common uses of unicast include accessing web pages using the HTTP protocol and transferring files between two devices.&lt;/p&gt;

&lt;h2&gt;
  
  
  Broadcast
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpf9t5nkqvp3alfrsitrp.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpf9t5nkqvp3alfrsitrp.png" alt="Image description" width="800" height="681"&gt;&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;Broadcast&lt;/strong&gt; is a &lt;em&gt;one-to-many&lt;/em&gt; communication mode in computer networks in which one device sends data to all connected devices in the same network.&lt;/p&gt;

&lt;p&gt;The advantages of using broadcast include making it easier because it will send data to all devices at once.&lt;/p&gt;

&lt;p&gt;An example of common use of broadcasting is the use of live streaming video which uses the UDP protocol.&lt;/p&gt;

&lt;p&gt;In broadcast there are two types of methods that are often used that is &lt;em&gt;Limited Broadcast&lt;/em&gt; and &lt;em&gt;Direct Broadcast&lt;/em&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  Limited Broadcast
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Faeujjy8oqmphheyowavi.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Faeujjy8oqmphheyowavi.png" alt="Image description" width="800" height="533"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In &lt;strong&gt;Limited Broadcast&lt;/strong&gt;, data is sent from one device to multiple devices on the same network.&lt;/p&gt;

&lt;h3&gt;
  
  
  Direct Broadcast
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fe2trx4gfo7o6kukctol3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fe2trx4gfo7o6kukctol3.png" alt="Image description" width="800" height="533"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In &lt;strong&gt;Direct Broadcast&lt;/strong&gt;, data is sent from one device to multiple devices on the same network or can send to another network.&lt;/p&gt;

&lt;h2&gt;
  
  
  Multicast
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7d9irag4iiv84yd7n13m.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7d9irag4iiv84yd7n13m.png" alt="Image description" width="800" height="533"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Multicast&lt;/strong&gt; is a &lt;em&gt;one-to-many&lt;/em&gt; communication mode in a computer network like &lt;em&gt;Broadcast&lt;/em&gt; but only a few devices can be allowed to connect to each other.&lt;/p&gt;

&lt;p&gt;The advantages of using multicast include making it easier because it will send data to all those who are permitted to connect and the bandwidth is faster than broadcast.&lt;/p&gt;

&lt;p&gt;An example of common use case for multicast is when a publisher only sends emails to subscriptions.&lt;/p&gt;

</description>
      <category>network</category>
      <category>networking</category>
      <category>devops</category>
    </item>
  </channel>
</rss>
