Cognizant interview question

What is difference between TCP / UDP

Interview Answers

Anonymous

Jan 31, 2021

I told him the differences with the eg where they are used

Anonymous

Jul 11, 2021

TCP is a connection-oriented protocol. Connection-orientation means that the communicating devices should establish a connection before transmitting data and should close the connection after transmitting the data. UDP is the Datagram oriented protocol. This is because there is no overhead for opening a connection, maintaining a connection, and terminating a connection. UDP is efficient for broadcast and multicast type of network transmission.