DEV Community

Cover image for Casting Computer Network
Alam
Alam

Posted on

Casting Computer Network

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 Casting

Casting is classified into three types which are Unicast, Broadcast and Multicast
Image description

Unicast

Image description

Unicast is a communication one-to-one mode in computer networks where one sending device sends data to a particular receiving device.

In unicast, data packets are sent from one source to one destination, so that only one device receives and processes the data.

The advantage of using unicast is that the bandwidth used will be faster because it will only focus on one destination.

Examples of common uses of unicast include accessing web pages using the HTTP protocol and transferring files between two devices.

Broadcast

Image description
Broadcast is a one-to-many communication mode in computer networks in which one device sends data to all connected devices in the same network.

The advantages of using broadcast include making it easier because it will send data to all devices at once.

An example of common use of broadcasting is the use of live streaming video which uses the UDP protocol.

In broadcast there are two types of methods that are often used that is Limited Broadcast and Direct Broadcast.

Limited Broadcast

Image description

In Limited Broadcast, data is sent from one device to multiple devices on the same network.

Direct Broadcast

Image description

In Direct Broadcast, data is sent from one device to multiple devices on the same network or can send to another network.

Multicast

Image description

Multicast is a one-to-many communication mode in a computer network like Broadcast but only a few devices can be allowed to connect to each other.

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.

An example of common use case for multicast is when a publisher only sends emails to subscriptions.

Top comments (0)