211k views
3 votes
Which of the TCP/IP transport protocal (UDP or TCP) wouldyou select for the following applications: Packet Voice, FileTransfers, Remote Login, Muticast Communication (i.e., multipledestinations).

User Lrrr
by
7.8k points

2 Answers

6 votes

Final answer:

In summary, UDP is preferred for Packet Voice and Multicast Communication due to its lower latency and suitability for broadcast-type communications, while TCP is chosen for File Transfers and Remote Login due to its reliability and ordered delivery of data.

Step-by-step explanation:

Choosing Between UDP and TCP for Different Applications

The choice between User Datagram Protocol (UDP) and Transmission Control Protocol (TCP) depends on the requirements of the application in terms of data delivery, speed, and reliability. For Packet Voice applications where timely delivery is more crucial than perfect accuracy, UDP is preferred due to its lower latency as opposed to TCP which entails a higher overhead related to error correction and packet order guarantee. For File Transfers and Remote Login, TCP is a better choice because it provides reliable, ordered, and error-checked delivery of a stream of bytes which are essential for the integrity of the files being transferred and the stability of a remote login session. For Multicast Communication, which involves sending a single message to multiple destinations, UDP is commonly used because TCP's connection-oriented nature makes it less suitable for one-to-many communication scenarios.

User Bowecho
by
8.0k points
3 votes

Answer:

File transfers- For transferring of files,we will prefer TCP because TCP provides reliability — packets sent with TCP are monitored so that in transit no information is lost or damaged. That's why downloading files won't get corrupted even if there are hiccups on the network.

Packet Voice-UDP is preferred over TCP because TCP has so much delay in the re-transmission and acknowledging the data transfer.So UDP is the choice for transferring the real- time voice.

Remote login-TCP is preferred over UDP because in TCP the packets sent are monitored so that in transit no information is lost or damaged that forms the basis for a remote login.

Muticast Communication (i.e., multiple destinations)-Neither TCP nor UDP is suitable for this because multicast communication means the transfer of data from a single source to multiple destination sources,it is not possible to maintain reliability of data in both protocols.

User Arul Rozario
by
8.7k points