Question

In: Computer Science

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?

Solutions

Expert Solution

TCP Services:

1. Process-to-Process Communication:Using port numbersTCP provides process-to-process communication.

2. Stream Delivery Service: TCP is a stream-oriented protocol.TCP allows the sending process to deliver data as a stream of bytes and allows the receiving process to obtain data as a stream of bytes.

3. Sending and Receiving Buffers:TCP have two buffers, for sender there is a sending buffer and for the receiver there is a receiving buffer, they necessary for flow and error control mechanisms used by TCP.

4. Segments: TCP groups a number of bytes together into a packet called a segment.

5. Full-Duplex Communication: TCP allow to flow in both directions at the same time.

UDP Services:

1.Unreliable Services: The service provided by UDP is an unreliable service that provides no guarantees for delivery and no protection from duplication.

2. UDP provides a minimal, unreliable, best-effort, message-passing transport to applications and upper-layer protocols.

3. The simplicity of UDP reduces the overhead from using the protocol and the services may be adequate in many cases.


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?
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?
Compare and contrast TCP and UDP.
Compare and contrast TCP and 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?
WHAT ARE THE DIFFERENCES BETWEEN TCP/IP AND UDP IN TERMS OF OSI LAYERS AND DEFINITION ITSELF?...
WHAT ARE THE DIFFERENCES BETWEEN TCP/IP AND UDP IN TERMS OF OSI LAYERS AND DEFINITION ITSELF? PLEASE GIVE BREIFE EXPLANATIONS WITH PICTURES AND EXAMPLES WITH EASY ENOUGH TO MEMORIZE AND UNDERSTAND
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 is the difference between TCP and UDP? Why would you use one over the other?...
What is the difference between TCP and UDP? Why would you use one over the other? Why have other nations enjoyed faster broadband speeds, greater availability, and lower prices? What advantages could broadband offer to underserved areas of the world? Is Internet access important for economic development? Why or why not?
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)
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.
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.                                                                     
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT