Question

In: Computer Science

List three applications that use UDP and three applications that use TCP and explain why those...

List three applications that use UDP and three applications that use TCP and explain why those applications use the selected Transport layer protocol.

Solutions

Expert Solution

As you know in when we send a message to the receiver it passed through multiple layer. Among that at transport layer we use either TCP or UDP as a internet protocol. TCP is Transmission control Protocol which is a connection oriented protocols it uses 3-way handshake method to connection establishment.. Means it will need a proper connection before sending message through. On the other hand UDP is a User Datagram Protocol which is a connection less Protocol. In this UDP, you can send any small message but it will not guarentee whether the message will deliver correctly or not. But TCP takes care of that.

TCP Get used in the below applications

1.World Wide Web(HTTP) : HTTP uses TCP as a transport layer protocol because whenever we search anything on the browser then from server the data get fetched into the browser because of TCP . The TCP takes care of delivering the data to the browser without any loss or duplicate. It ensures that. Also if any data loss happened it will resend the data . so that consistency will be there. Thats why we TCP get used in HTTP .

2.E-mail (SMTP) SMTP is simple mail transfer protocol which is a communication protocol in case of mail.when u send any mail this SMTP send that mail to the receiver . This is also using TCP because it ensures that if you sent any packet or mail to user the same should be get deliver to the receiver.The TCP uses Checksum to find out if any error is there in the message bit or if any message bit get corrupted . then in that case also the checksum help to find out the error and resend the message to fix the issue.

3.File Transfer Protocol (FTP) FTP is the file transfter protocol which transfer a file between two nodes. whenever a sender and receiver get connected through FTP . then TCP connection is got establish between those two nodes. TCP takes care of all packets got send to receiver correctly . Also to the exact destination with the port address.

We use TCP to handle all kind of issue during the transmission of any message . because other protocols like FTP, SMTP or HTTP they dont have their own methods or any ways to handle the loss of message or corrupt message.

UDP Get used As transport layer protocol In below applications:

1. Trivial File Transfer Protocol (TFTP) : As name suggesting Trivial FTP . A TFTP protocol uses UDP because TFTP have all the methods to handle the errors in data, loss of packet issue or acknowledge loss issue. Its having those power to handle . As UDP is not very reliable protocol. but it is very fast as compared to TCP . because TCP has overhead. which takes time at transport layer. But this udp will work fastly .So we use UDP for TFTP.

2. Domain Name System (DNS) DNS uses UDP on port 53 . UDP is preffered in that case when the message need to deliver fastly. UDP has less overhead. so it devlier fastly. but not reliable . doesnt have any power to find the corrupt message or to find the lossed packet. DNS requests are very less size or very small. thats why it fits into the segment well. As its reliability is less so that can be handled on the application layer

3. Network Time Protocol(NTP) : it is the oldest network protocol which in used currently also. this uses UDP because it is very fast in response and connection setup is also takes very less time.


Related Solutions

Research on TCP, UDP, and IP. And Define TCP, UDP, and IP Compare the header of...
Research on TCP, UDP, and IP. And Define TCP, UDP, and IP Compare the header of TCP, UDP, and IP packets. Why are there more fields in PCP header than UDP and IP?
Q10. Compare the header of TCP, UDP, and IP packets and explain why are there more...
Q10. Compare the header of TCP, UDP, and IP packets and explain why are there more fields in TCP header than UDP and IP? (10 points)
Compare and contrast TCP and UDP.
Compare and contrast TCP and UDP.
UDP and TCP use 1s complement for their checksums. Suppose you have the following three 8-bit...
UDP and TCP use 1s complement for their checksums. Suppose you have the following three 8-bit bytes: 01010011, 01100110, 01110100. a) What is the 1s complement of the sum of these 8-bit bytes? (Note that although UDP and TCP use 16-bit words in computing the checksum, for this problem you are being asked to consider 8-bit sums.) b) Why is it that UDP takes the 1s complement of the sum; that is, why not just use the sum? c) With...
1. Explain one aspect of UDP that makes it better than TCP. 2. Explain what is...
1. Explain one aspect of UDP that makes it better than TCP. 2. Explain what is a socket. 3. Explain the difference in demultiplexing between UDP and TCP. 4. Illustrate a system of your choice with Finite State Machine.
What are the services provided by TCP?  What services are provided by UDP?
What are the services provided by TCP?  What services are provided by UDP?
What are the differences between TCP and UDP? What are transport protocols?
What are the differences between TCP and UDP? What are transport protocols?
b) UDP does not provide end to end flow control, but TCP does. Explain how this...
b) UDP does not provide end to end flow control, but TCP does. Explain how this is achieved using sequence numbers. Give an example where a packetized message sent using UDP is received incorrectly, but when using TCP it is received correctly under same circumstances without channel errors.                                                                     
a) What other protocols are just fine with UDP, and why? b) There are some applications...
a) What other protocols are just fine with UDP, and why? b) There are some applications protocols (e.g., HTTP, SMTP) that use TCP as their transport layer protocol and cannot use UDP instead. Why?
A common protocol stack used by many applications is to use TCP at the transport layer...
A common protocol stack used by many applications is to use TCP at the transport layer and IP at the network layer. The ICMP protocol is also used to report on problems encountered by IP. The IP protocol provides a service referred to as “best effort”. Describe the services of the IP protocol, and potentially ICMP protocol, with respect to flow control (ensuring the sender does not overwhelm the receiver). Describe the service TCP provides with respect to flow control...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT