Question: what is the difference between udp and tcp protocol?
Answer: TCP is a connection-oriented protocol, whereas UDP is a connectionless protocol. The speed for TCP is slower while the speed of UDP is faster. ... TCP does error checking and also makes error recovery, on the other hand, UDP performs error checking, but it discards erroneous packets.