38.4k views
2 votes
Suppose you wanted to do a transaction from a remote client to a server as fast as possible. Would you use UDP or TCP? Why?

1) UDP, because it provides faster transmission speed
2) TCP, because it provides reliable data delivery
3) UDP, because it is more secure
4) TCP, because it is more efficient

1 Answer

7 votes

Final answer:

For the fastest transaction, UDP is preferred due to its faster transmission speed, despite its lack of reliability compared to TCP.

Step-by-step explanation:

If you wanted to do a transaction from a remote client to a server as fast as possible, you would likely use UDP (User Datagram Protocol). The main reason to choose UDP is because it provides faster transmission speed than TCP (Transmission Control Protocol). Unlike TCP, UDP does not establish a connection before sending data, does not guarantee the delivery of packets, nor does it check for errors as rigorously as TCP does. Because of this, UDP is generally faster and more efficient for tasks where high-speed data transfer is more crucial than accuracy.

User Mayur Dhurpate
by
7.1k points