Question

In: Computer Science

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.                                                                     

Solutions

Expert Solution

TCP is connection-oriented and UDP is connectionless. This implies that some time recently sending TCP parcels, a association is set up between the server and the client. This handle of setting up a association is called TCP handshaking. The stream of bundles is at that point sent over this connection. In UDP, there's no such association. Each bundle is sent separately and straightforwardly from the sender to the collector without a dependable information channel.TCP could be a solid convention that includes a sequence number to the information parcels because it sends out a stream. This makes a difference the beneficiary orchestrate and fasten back the message together. UDP doesn’t include a number to its header, which suggests the beneficiary has no way of knowing on the off chance that it gotten all the parcels and within the right arrange.

Example :

UDP: Anything where you do not care as well much in case you get all information always :-

1.Tunneling/VPN (misplaced parcels are alright - the tunneled convention takes care of it) 2.Media gushing (misplaced outlines are ok)

TCP: Nearly anything where you have got to urge all transmitted data :-

1.Web

2. SSH, FTP, telnet

3.SMTP, sending mail

4.IMAP/POP, accepting mail.

Comments for any queries..!

Please give me a thumbs up..!


Related Solutions

What is UDP and how does it work? What are the differences between TCP and UDP?....
What is UDP and how does it work? What are the differences between TCP and UDP?. Provide examples (if applicable) to support your comparative review.
Briefly explain the Flow Control mechanism in Transmission Control Protocol (TCP)
Briefly explain the Flow Control mechanism in Transmission Control Protocol (TCP)
Describe the service TCP provides with respect to flow control and explain the mechanisms it uses...
Describe the service TCP provides with respect to flow control and explain the mechanisms it uses to overcome the deficiencies of 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)
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.
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.
Describe how DDoS attacks may be mounted against TCP and UDP services. In what way will...
Describe how DDoS attacks may be mounted against TCP and UDP services. In what way will being connection-oriented be different for TCP and UDP?
Discuss how demultiplexing is carried out using TCP and UDP. (8 marks) Please make a table,...
Discuss how demultiplexing is carried out using TCP and UDP. Please make a table, one side FULLY explaining how demultiplexing is carried out using TCP and the other side FULLY explaining how demultiplexing is carried out using UDP.
Describe the concept of flow control and briefly describe the mechanism/s implemented by the TCP protocol...
Describe the concept of flow control and briefly describe the mechanism/s implemented by the TCP protocol for this purpose.
How does TCP prevent sender from overflowing the receiver’s buffer? Explain how to calculate rwnd at...
How does TCP prevent sender from overflowing the receiver’s buffer? Explain how to calculate rwnd at sender side and its relationship with LastByteSent and LastByteAcked.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT