TCP is a reliable form of communication that has features like a three-way handshake and a tear down process ensures the connection is reliable and interactive.
A TCP header is 20 bytes long and consists of various fields such as source and destination port,
ACK numbers, offset, window size, flag bits, checksum, and options. The presence of various flags and header fields let the sender and receiver be sure about the delivery as well as the integrity of the data being sent.
ACK numbers are used by TCP-based communications to keep track of how much data is being sent across between the hosts taking part.
A UDP is a connection-less protocol that is a nonreliable means of communication over IP, where the lost and discarded ...