What are the different types of Castings in computer networks?

Transmitting data in the form of packets over the internet is called casting. It refers to the method used to deliver data from one or more sources to one or more destinations across a network.

Types of Casting

The different types of casting are as follows:

  • Unicast − Transmitting data from one host to another host (one-to-one)

  • Broadcast − Transmitting data from one host to many hosts (one-to-all)

  • Multicast − Transmitting data from one host to a particular group of hosts (one-to-many)

Types of Casting in Networks Unicast (1:1) S D Broadcast (1:All) S Multicast (1:Group) S Key Characteristics Unicast: ? Point-to-point communication ? Most efficient for individual data transfer Broadcast: ? Sends to all hosts in network ? High network overhead Multicast: ? Selective group communication ? Efficient for group applications

Unicast

Transmitting data from one source host to one destination host is called unicast. It is a one-to-one transmission where data flows directly between two specific devices.

For example: A source host with IP address 192.168.20.1 sending data to a destination host with IP address 192.122.140.34.

Broadcast

Transmitting data from one source host to all other hosts present in the same or different network is called broadcast. It is a one-to-all transmission.

Broadcast is classified into two types:

Limited Broadcast

Transmitting data from one source host to all other hosts present in the same network is called limited broadcast. When the destination address is 255.255.255.255, the packet is sent to all hosts in the local network.

Limited Broadcast Address = 255.255.255.255
Binary Format = 11111111.11111111.11111111.11111111

For example: If the source IP address is 12.23.2.5 sending data to all hosts in the same network, the destination address is 255.255.255.255.

Direct Broadcast

Transmitting data from a source host to all hosts present in a different network is called direct broadcast. In direct broadcast, all Host ID bits are set to 1, while the Network ID identifies the target network.

For example: Source IP address 12.34.5.6 sending data to all hosts in network 24.0.0.0 would use destination address 24.255.255.255.

Multicast

Transmitting data from one source host to a particular group of hosts that are interested in receiving the data is called multicast. It is a one-to-many transmission that is more efficient than broadcast for group communication.

Common examples include video conferencing, live streaming, and sending messages to specific groups in applications like WhatsApp.

Comparison of Casting Types

Type Relationship Efficiency Use Cases
Unicast 1:1 High for individual transfer Web browsing, email, file transfer
Broadcast 1:All Low (high overhead) Network discovery, DHCP
Multicast 1:Group High for group transfer Video streaming, online gaming

Conclusion

Casting types determine how data is transmitted across networks, with unicast for point-to-point communication, broadcast for network-wide transmission, and multicast for efficient group communication. Understanding these methods is essential for designing efficient network applications and protocols.

Updated on: 2026-03-16T23:36:12+05:30

7K+ Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements