what is the difference between tcp and udp protocols in terms of delivery reliability?
TCP is reliable. Data sent using a TCP protocol is guaranteed to be delivered to the receiver. ... TCP will also check packets for errors and track packets so that data is not lost or corrupted. UDP is unreliable, it does not provide guaranteed delivery and a datagram packet may become corrupt or lost in transit.