- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Unicast, Broadcast, and Multicast in Computer Networks
Casting in computer networks means transmitting data (stream of packets) over a network. Following are the different types of casting used in networking −
- Unicast transmission
- Broadcast transmission
- Multicast transmission
Unicast Transmission (One-to-One)
In Unicast transmission, the data is transferred from a single sender (or a single source host) to a single receiver (or a single destination host).
The network switches hear the MAC addresses of the devices on the networks to which they are connected. They can then forward packets only onto those networks containing devices with the connected MAC addresses. Unicast gradually becomes less efficient as more receivers need to see identical data.
Example
In the following figure, Host A sends the IP address 11.1.2.2 data to the Host B IP address 20.12.4.3.
- Source Address = IP address of host A is 11.1.2.2
- Destination Address = IP address of host B is 20.12.4.3
Broadcast Transmission (One-to-All)
In Broadcast transmission, the data is transmitted from one or more senders to all the receivers within the same network or in other networks. This type of transmission is useful in network management packets such as ARP (Address Resolution Protocol) and RIP (Routing Information Protocol) where all the devices must see the data.
There are two types of broadcast transmission −
- Directed Broadcast, and
- Limited Broadcast
Directed Broadcast
Directed Broadcast transmits data from one source host to all the other hosts that exist in some other network. It is used in two scenarios −
- When the hosts are responsible for parsing data from broadcast packets.
- When all the hosts require the same data.
Limited Broadcast
In Limited Broadcast, the data is transmitted from a single source host to all the other hosts residing in the same network.
Multicast Transmission (One-to-Many)
When the data is transmitted from a single source host to a specific group of hosts having the interest to receive the data, it is known as multicast transmission. Multicast can be more efficient than unicast when different groups of receivers need to see the same data.
Example − Multicast is the technique used in Internet streaming of video or audio teleconference, sending an email to a particular group of people, etc.