Capgemini Engineering interview question

TCP explain with proper example