Introduction TCP provides a reliable transport Each end send acknowledgment to the other end when receive data Data and acknowledgment can get lost TCP handles this by setting…