Describe how the Transmission Control Protocol (TCP) and User Datagram Protocol (UDP) differ from each other, and provide examples of where each might be used.

What will be an ideal response?

ANSWER: The Transmission Control Protocol (TCP) makes a connection with the end host, checks whether the data is received, and resends it if it is not. TCP is, therefore, called a connection-oriented protocol. TCP is used by applications such as Web browsers and email. Guaranteed delivery takes longer and is used when it is important to know that the data reached its destination. The User Datagram Protocol (UDP) does not guarantee delivery by first connecting and checking whether data is received; thus, UDP is called a connectionless protocol or best-effort protocol. UDP is used for broadcasting, such as streaming video or audio over the Web, where guaranteed delivery is not as important as fast transmission. UDP is also used to monitor network traffic.

Computer Science & Information Technology

You might also like to view...

When installing the Unity engine, what are the three Component add-ons you can install with it?

What will be an ideal response?

Computer Science & Information Technology

A parameter variable's scope is the ____________ in which the parameter variable is declared.

a. namespace b. class c. field d. method

Computer Science & Information Technology