Morgan Stanley Interview Question

how does TCP work