Hire Our Expert Programmer & Technical Writer To Do Your Capstone Project
+1 vote
in Computer Networks by (user.guest)

1 Answer

0 votes
by (user.guest)
 
Best answer

The User Datagram Protocol (UDP) is used to perform the transaction from a remote client to a server.

Reasons behind using the UDP protocol are as follows:

• The UDP protocol completes the transaction from a remote client to a server in one roundtrip time (RTT).

• As it uses one roundtrip time, it requires less time to complete the transaction between the client and server.

• UDP is an unreliable protocol but usually, it is reliable enough.

• The transaction process is the process in which request is sent by the client to a UDP socket. The server generates the response and sends it back to the client’s UDP socket.

Reasons behind not using the TCP protocol are as follows:

• The TCP protocol requires a minimum of 2 roundtrip times (RTTs).

• The TCP is a connection-oriented transport layer protocol and the communication takes place between two hosts in a network.

• TCP is a reliable protocol.

• The transaction process with two roundtrip times is one RTT for connection setup and the other RTT for the client to send a request and server to reply the generated response.

• It requires more time to complete the transaction from remote client to a server.


Related questions

Welcome to CPENTalk.com

Disclaimer: Every user is solely responsible for anything that he/she posts or uploads on CPENTalk.
...